From 26bcfddd24cb98fb16fb431244e6ecd8120103f7 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Thu, 14 Dec 2023 14:43:23 +0100 Subject: [PATCH] ci: switch to org-wide var as username Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/buildkit-image.yml | 2 +- .github/workflows/ci.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildkit-image.yml b/.github/workflows/buildkit-image.yml index cb6e8edb..38b6b8ab 100644 --- a/.github/workflows/buildkit-image.yml +++ b/.github/workflows/buildkit-image.yml @@ -41,7 +41,7 @@ jobs: if: ${{ inputs.push }} uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERPUBLICBOT_USERNAME }} + username: ${{ vars.DOCKERPUBLICBOT_USERNAME }} password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }} - name: Create diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index be828877..f212db3f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -59,7 +59,7 @@ jobs: if: github.event_name != 'pull_request' uses: docker/login-action@v3 with: - username: ${{ secrets.DOCKERPUBLICBOT_USERNAME }} + username: ${{ vars.DOCKERPUBLICBOT_USERNAME }} password: ${{ secrets.DOCKERPUBLICBOT_WRITE_PAT }} - name: Build @@ -79,6 +79,6 @@ jobs: if: github.event_name != 'pull_request' uses: peter-evans/dockerhub-description@v3 with: - username: ${{ secrets.DOCKERPUBLICBOT_USERNAME }} + username: ${{ vars.DOCKERPUBLICBOT_USERNAME }} password: ${{ secrets.DOCKERPUBLICBOT_DELETE_PAT }} repository: ${{ env.DOCKERHUB_SLUG }}