Skip to content

Commit

Permalink
comment Push Docker images to Google Container Registry action
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshi06 committed Sep 20, 2024
1 parent 31ae50f commit ea8b95a
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ship.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,20 @@ jobs:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
useDaemon: false # attempt to stop hanging on cleanup

- id: gcloud-auth
name: Authenticate to Google Cloud πŸ”‘
uses: google-github-actions/auth@v2
with:
token_format: access_token
service_account: "[email protected]"
workload_identity_provider: "projects/1025009031284/locations/global/workloadIdentityPools/hasura-ddn/providers/github"

- name: Login to Google Container Registry πŸ“¦
uses: "docker/login-action@v3"
with:
registry: "us-docker.pkg.dev"
username: "oauth2accesstoken"
password: "${{ steps.gcloud-auth.outputs.access_token }}"
# - id: gcloud-auth
# name: Authenticate to Google Cloud πŸ”‘
# uses: google-github-actions/auth@v2
# with:
# token_format: access_token
# service_account: "[email protected]"
# workload_identity_provider: "projects/1025009031284/locations/global/workloadIdentityPools/hasura-ddn/providers/github"

# - name: Login to Google Container Registry πŸ“¦
# uses: "docker/login-action@v3"
# with:
# registry: "us-docker.pkg.dev"
# username: "oauth2accesstoken"
# password: "${{ steps.gcloud-auth.outputs.access_token }}"

- name: Login to GitHub Container Registry πŸ“¦
uses: docker/login-action@v3
Expand All @@ -97,8 +97,8 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push Docker images to Google Container Registry 🚒
run: nix run .#publish-docker-image '${{ github.ref }}' 'us-docker.pkg.dev/hasura-ddn/ddn/ndc-bigquery'
# - name: Push Docker images to Google Container Registry 🚒
# run: nix run .#publish-docker-image '${{ github.ref }}' 'us-docker.pkg.dev/hasura-ddn/ddn/ndc-bigquery'

- name: Push Docker images to GitHub Packages 🚒
run: nix run .#publish-docker-image '${{ github.ref }}' 'ghcr.io/hasura/ndc-bigquery'
Expand Down

0 comments on commit ea8b95a

Please sign in to comment.