From 537ab701c41c474f5dd192bf9f9900f885d19fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20V=C3=A1rady?= Date: Wed, 30 Oct 2024 12:02:41 +0100 Subject: [PATCH] test --- .github/workflows/docker-image.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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.