diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 93997ed..e71b07e 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -21,8 +21,16 @@ jobs: permissions: contents: read packages: write - # + id-token: "write" + # steps: + - name: Google auth + id: auth + uses: "google-github-actions/auth@v1" + with: + workload_identity_provider: "${{ secrets.WIF_PROVIDER }}" + service_account: "${{ secrets.WIF_SERVICE_ACCOUNT }}" + token_format: "access_token" - name: Checkout repository uses: actions/checkout@v4 # Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.