Skip to content

Commit

Permalink
Refactor labels and tags
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Czyz <[email protected]>
  • Loading branch information
mczyz-antmicro committed Mar 26, 2024
1 parent 3234655 commit 12c6645
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/prebuilt/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "ghcr.io/antmicro/openroad-codespace:test",
"image": "ghcr.io/antmicro/openroad-codespace:lxqt",
"forwardPorts": [6080],
"portsAttributes": {
"6080": {
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/ubuntu-gui/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "ghcr.io/antmicro/orfs:latest",
"image": "ghcr.io/antmicro/openroad-codespace:orfs",
"features": {
"ghcr.io/devcontainers/features/desktop-lite:1": {}
},
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,26 +30,26 @@ jobs:

- name: Docker build
run: |
docker build -t ghcr.io/antmicro/orfs:latest -f Dockerfile-orfs .
docker build -t ghcr.io/antmicro/openroad-codespace:orfs -f Dockerfile-orfs .
- name: Push container image to GitHub Container Registry (GHCR)
if: github.event_name != 'pull_request' && github.repository == 'antmicro/openroad-codespace'
run: docker push ghcr.io/antmicro/orfs:latest
run: docker push ghcr.io/antmicro/openroad-codespace:orfs

- name: Devcontainer build
run: |
npm install -g @devcontainers/cli
devcontainer build --config .devcontainer/ubuntu-gui/devcontainer.json --workspace-folder . --push false --image-name ghcr.io/antmicro/openroad-codespace:latest
devcontainer build --config .devcontainer/ubuntu-gui/devcontainer.json --workspace-folder . --push false --image-name ghcr.io/antmicro/openroad-codespace:desktop
# docker image tag test:latest ghcr.io/antmicro/openroad-codespace:test
- name: Push container image to GitHub Container Registry (GHCR)
if: github.event_name != 'pull_request' && github.repository == 'antmicro/openroad-codespace'
run: docker push ghcr.io/antmicro/openroad-codespace:latest
run: docker push ghcr.io/antmicro/openroad-codespace:desktop

- name: Docker build
run: |
docker build -t ghcr.io/antmicro/lxqt -f Dockerfile-lxqt .
docker build -t ghcr.io/antmicro/openroad-codespace:lxqt -f Dockerfile-lxqt .
- name: Push container image to GitHub Container Registry (GHCR)
if: github.event_name != 'pull_request' && github.repository == 'antmicro/openroad-codespace'
run: docker push ghcr.io/antmicro/lxqt:latest
run: docker push ghcr.io/antmicro/openroad-codespace:lxqt
2 changes: 1 addition & 1 deletion Dockerfile-lxqt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/antmicro/openroad-codespace:latest
FROM ghcr.io/antmicro/openroad-codespace:desktop

COPY scripts/install-lqxt.sh /usr/local/bin/install-lqxt.sh
RUN bash /usr/local/bin/install-lqxt.sh

0 comments on commit 12c6645

Please sign in to comment.