Skip to content

Commit

Permalink
Merge branch 'main' into py/update-ci-deploy-file
Browse files Browse the repository at this point in the history
  • Loading branch information
pranshi06 authored Sep 20, 2024
2 parents d0d1168 + f02e059 commit c7a44cf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 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
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
description = "BiiQuery data connector";
description = "BigQuery data connector";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs?branch=nixos-unstable";
Expand Down

0 comments on commit c7a44cf

Please sign in to comment.