From b9464b446e01e3579ae5f53ab226c68798230f28 Mon Sep 17 00:00:00 2001 From: Michel Loiseleur Date: Tue, 7 Apr 2026 15:16:09 +0200 Subject: [PATCH 1/2] ci: uses secret on gcr auth --- .github/workflows/ci.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ee57c61..38c9030 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -78,10 +78,10 @@ jobs: id: auth uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0 with: - project_id: ${{ vars.GCP_PROJECT_ID }} + project_id: ${{ secrets.GCP_PROJECT_ID }} token_format: access_token - service_account: ${{ vars.GCP_TRAEFIKER_SA }} - workload_identity_provider: ${{ vars.GCP_GHA_IDENTITY_PROVIDER }} + service_account: ${{ secrets.GCP_TRAEFIKER_SA }} + workload_identity_provider: ${{ secrets.GCP_GHA_IDENTITY_PROVIDER }} - name: Login to GCR if: ${{ github.event_name == 'push' || startsWith(github.ref, 'refs/tags/') }} @@ -118,10 +118,10 @@ jobs: id: auth uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093 # v3.0.0 with: - project_id: ${{ vars.GCP_PROJECT_ID }} + project_id: ${{ secrets.GCP_PROJECT_ID }} token_format: access_token - service_account: ${{ vars.GCP_TRAEFIKER_SA }} - workload_identity_provider: ${{ vars.GCP_GHA_IDENTITY_PROVIDER }} + service_account: ${{ secrets.GCP_TRAEFIKER_SA }} + workload_identity_provider: ${{ secrets.GCP_GHA_IDENTITY_PROVIDER }} - name: Login to GCR uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0 From 03f83268fc7cb3fe303c17d2f9145d16adb460b6 Mon Sep 17 00:00:00 2001 From: Michel Loiseleur Date: Tue, 7 Apr 2026 15:17:58 +0200 Subject: [PATCH 2/2] cannot do on public repo --- .github/workflows/add-to-project.yaml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 .github/workflows/add-to-project.yaml diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/add-to-project.yaml deleted file mode 100644 index 8c81b64..0000000 --- a/.github/workflows/add-to-project.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Add backend PRs to TraefikLabs project - -on: - pull_request: - types: - - opened - -jobs: - add-to-project: - name: Add PR to Traefik Labs project - runs-on: ubuntu-slim - steps: - - uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2 - with: - project-url: https://github.com/orgs/traefik/projects/16 - github-token: ${{ secrets.TRAEFIKINFRA_ADD2PROJECT }} - labeled: area/infrastructure, status/2-needs-review - label-operator: AND