From 1ca78e0642b29821a5f8ac4114cf91dc66e184f2 Mon Sep 17 00:00:00 2001 From: shane knapp Date: Fri, 7 Jun 2024 11:26:16 -0700 Subject: [PATCH] try whats in stat159 vs the actual docs --- .github/workflows/build.yaml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2e1a785..987f963 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,19 +29,14 @@ jobs: - name: Checkout files in repo uses: actions/checkout@main - - name: log in to GAR - uses: docker/login-action@v2 - with: - registry: us-central1-docker.pkg.dev - username: _json_key - password: ${{ secrets.GAR_SECRET_KEY }} - - name: Build the image and push to quay.io if not a pull request uses: jupyterhub/repo2docker-action@master with: # Don't push the image during a PR build NO_PUSH: "${{ github.event_name == 'pull_request' }}" # Make sure username & password/token pair matches your registry credentials + DOCKER_USERNAME: _json_key + DOCKER_PASSWORD: $ {{ secrets.GAR_SECRET_KEY }} DOCKER_REGISTRY: us-central1-docker.pkg.dev IMAGE_NAME: ${{ secrets.GCP_PROJECT_ID }}/user-images/logodev-user-image # Disable pushing a 'latest' tag, as this often just causes confusion