Skip to content

Commit

Permalink
GitHub Actions use org secrets
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Deitcher <[email protected]>
  • Loading branch information
deitch authored and milan-zededa committed Jul 10, 2024
1 parent 72cdb85 commit d2d8c16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -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

0 comments on commit d2d8c16

Please sign in to comment.