Skip to content

Commit

Permalink
fix: registry location
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanGalloway committed Apr 30, 2024
1 parent 660a8a9 commit be5edbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/continuous.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Login to GAR
uses: docker/login-action@v1
with:
registry: us-east1-docker.pkg.dev
registry: us-docker.pkg.dev
username: oauth2accesstoken
password: '${{ steps.auth.outputs.access_token }}'
- name: Get branch name
Expand All @@ -60,7 +60,7 @@ jobs:
uses: docker/metadata-action@v3
with:
images: |
us-east1-docker.pkg.dev/${{ secrets.DEV_GKE_PROJECT }}/containers/sefaria-llm
us-docker.pkg.dev/${{ secrets.GKE_PROJECT }}/gcr.io/sefaria-ai
# generate container tags based on the following events/attributes
tags: |
type=sha,enable=true,priority=100,prefix=${{ steps.branch-name.outputs.current_branch}}-,suffix=-${{ steps.date.outputs.date }},format=short
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
with:
token_format: 'access_token'
workload_identity_provider: 'projects/${{ secrets.PROD_GKE_PROJECT_ID}}/locations/global/workloadIdentityPools/github/providers/github'
service_account: '${{ secrets.PROD_GKE_SA }}'
workload_identity_provider: 'projects/${{ secrets.GKE_PROJECT_ID}}/locations/global/workloadIdentityPools/github/providers/github'
service_account: '${{ secrets.GKE_SA }}'
- name: Login to GAR
uses: docker/login-action@v1
if: ${{ github.ref == 'refs/heads/main' }}
Expand All @@ -119,4 +119,4 @@ jobs:
if: ${{ github.ref == 'refs/heads/main' }}
run: |
helm package chart
helm push sefaria-llm-${{ steps.chartVersion.outputs.chartVersion }}.tgz oci://us-east1-docker.pkg.dev/${{ secrets.GKE_PROJECT}}/containers/sefaria-ai/chart/
helm push sefaria-ai-${{ steps.chartVersion.outputs.chartVersion }}.tgz oci://us-docker.pkg.dev/${{ secrets.GKE_PROJECT}}/gcr.io/sefaria-ai/chart/

0 comments on commit be5edbd

Please sign in to comment.