From 16b7f935e8f7c3161e669bdf9ff9a90c5d27c13e Mon Sep 17 00:00:00 2001 From: Shubham Krishna Date: Tue, 20 Feb 2024 13:04:44 +0100 Subject: [PATCH] Remove permission --- .github/workflows/build-push-image.yml | 4 ---- .github/workflows/test-build-push-image.yml | 3 --- 2 files changed, 7 deletions(-) diff --git a/.github/workflows/build-push-image.yml b/.github/workflows/build-push-image.yml index 11a03a2d..060ae690 100644 --- a/.github/workflows/build-push-image.yml +++ b/.github/workflows/build-push-image.yml @@ -31,10 +31,6 @@ jobs: build-push-image-job: name: Build and Push Docker Image to GCP Artifact Registry runs-on: ubuntu-latest - permissions: - contents: 'read' - id-token: 'write' - steps: - id: 'auth' name: 'Authenticate with Google Cloud' diff --git a/.github/workflows/test-build-push-image.yml b/.github/workflows/test-build-push-image.yml index 3ec0ce46..66e896e1 100644 --- a/.github/workflows/test-build-push-image.yml +++ b/.github/workflows/test-build-push-image.yml @@ -8,9 +8,6 @@ on: jobs: test-reusable-workflow: uses: ./.github/workflows/build-push-image.yml - permissions: - contents: 'read' - id-token: 'write' with: region: us-central1 dockerfile_path: ./containers/pytorch/training/gpu/2.1/transformers/4.37.2/py310/Dockerfile