Skip to content

Commit

Permalink
CI: docker: push docker image to upstream repository container registry
Browse files Browse the repository at this point in the history
Signed-off-by: Pawel Czarnecki <pczarnecki@antmicro.com>
  • Loading branch information
lpawelcz committed Feb 23, 2024
1 parent 79a75db commit 12a03ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ jobs:
docker:
runs-on: ubuntu-latest
env:
IMAGE: ghcr.io/antmicro/bazel-orfs
IMAGE: ghcr.io/The-OpenROAD-Project/bazel-orfs
steps:
- uses: actions/checkout@v3
- name: Build docker image
run: |
docker build -t "${{ env.IMAGE }}" .
- name: Login to GitHub Container Registry (GHCR)
if: github.event_name != 'pull_request' && github.repository == 'antmicro/bazel-orfs'
if: github.event_name != 'pull_request' && github.repository == 'The-OpenROAD-Project/bazel-orfs'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: gha
password: ${{ github.token }}

- name: Push container image to GitHub Container Registry (GHCR)
if: github.event_name != 'pull_request' && github.repository == 'antmicro/bazel-orfs'
if: github.event_name != 'pull_request' && github.repository == 'The-OpenROAD-Project/bazel-orfs'
run: docker push $IMAGE

0 comments on commit 12a03ca

Please sign in to comment.