Skip to content

Commit

Permalink
Push images to Google Artifact Registry as well
Browse files Browse the repository at this point in the history
  • Loading branch information
domust committed Jul 31, 2024
1 parent 5dc31b5 commit 279c02c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Google Container Registry
uses: docker/login-action@v3
with:
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.ARTIFACT_BUILDER_JSON_KEY }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand All @@ -76,6 +83,8 @@ jobs:
tags: |
ghcr.io/castai/kvisor/kvisor-agent:${{ env.RELEASE_TAG }}
ghcr.io/castai/kvisor/kvisor-agent:latest
us-docker.pkg.dev/castai-hub/library/kvisor-agent:${{ env.RELEASE_TAG }}
us-docker.pkg.dev/castai-hub/library/kvisor-agent:latest
- name: Build and push release (kvisor-controller)
uses: docker/build-push-action@v2
Expand All @@ -87,6 +96,8 @@ jobs:
tags: |
ghcr.io/castai/kvisor/kvisor-controller:${{ env.RELEASE_TAG }}
ghcr.io/castai/kvisor/kvisor-controller:latest
us-docker.pkg.dev/castai-hub/library/kvisor-controller:${{ env.RELEASE_TAG }}
us-docker.pkg.dev/castai-hub/library/kvisor-controller:latest
- name: Build and push release (kvisor-scanners)
uses: docker/build-push-action@v2
Expand All @@ -98,6 +109,8 @@ jobs:
tags: |
ghcr.io/castai/kvisor/kvisor-scanners:${{ env.RELEASE_TAG }}
ghcr.io/castai/kvisor/kvisor-scanners:latest
us-docker.pkg.dev/castai-hub/library/kvisor-scanners:${{ env.RELEASE_TAG }}
us-docker.pkg.dev/castai-hub/library/kvisor-scanners:latest
release_chart:
name: Release Helm Chart
Expand Down

0 comments on commit 279c02c

Please sign in to comment.