Skip to content

Commit

Permalink
[#61287] WIP: workflows: Push dependencies image
Browse files Browse the repository at this point in the history
Signed-off-by: Illia Vysochyn <[email protected]>
  • Loading branch information
ivysochyn committed Jun 28, 2024
1 parent 466644d commit 54bc9a4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/github-actions-cron-test-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ jobs:
os: ["ubuntu20.04", "ubuntu22.04", "centos7"]
runs-on: ubuntu-latest
env:
IMAGE: ghcr.io/antmicro/openroad-flow-scripts
IMAGE: ghcr.io/antmicro/openroad-flow-scripts-test-cache
IMAGE_DEPS: ghcr.io/antmicro/openroad-flow-scripts-test-cache-deps
steps:
- name: Check out repository code
uses: actions/checkout@v3
Expand Down Expand Up @@ -63,6 +64,7 @@ jobs:
- name: Tag the image
run: |
docker tag openroad/flow-${{ matrix.os }}-builder ${{ env.IMAGE }}/${{ matrix.os }}
docker tag openroad/flow-${{ matrix.os }}-dev ${{ env.IMAGE_DEPS }}/${{ matrix.os }}
- name: Login to GitHub Container Registry (GHCR)
if: github.event_name != 'pull_request' && github.repository == 'antmicro/OpenROAD-flow-scripts'
uses: docker/login-action@v2
Expand All @@ -73,4 +75,6 @@ jobs:

- name: Push container image to GitHub Container Registry (GHCR)
if: github.event_name != 'pull_request' && github.repository == 'antmicro/OpenROAD-flow-scripts'
run: docker push ${{ env.IMAGE }}/${{ matrix.os }}
run: |
docker push ${{ env.IMAGE }}/${{ matrix.os }}
docker push ${{ env.IMAGE_DEPS }}/${{ matrix.os }}

0 comments on commit 54bc9a4

Please sign in to comment.