From d2d8c1669d049770a46e901853fae20f64ad7ad9 Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Wed, 10 Jul 2024 11:12:43 +0200 Subject: [PATCH] GitHub Actions use org secrets Signed-off-by: Avi Deitcher --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3ac350759..8fedbcfbb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,7 +17,7 @@ jobs: if: ${{ env.DOCKERHUB_TOKEN != '' }} run: echo "defined=true" >> $GITHUB_OUTPUT env: - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + DOCKERHUB_TOKEN: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }} build: runs-on: ubuntu-22.04 needs: [check-secrets] @@ -32,8 +32,8 @@ jobs: - name: Login to DockerHUB id: login run: | - echo "${{ secrets.DOCKERHUB_TOKEN }}" |\ - docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin + echo "${{ secrets.RELEASE_DOCKERHUB_TOKEN }}" |\ + docker login -u "${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}" --password-stdin - name: Build and push run: | make DOCKER_TARGET=push LINUXKIT_TARGET=push DOCKER_PLATFORM=linux/arm64,linux/amd64 build-docker