Skip to content

Commit

Permalink
add vars to push to docker hub
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaffen committed Jan 8, 2024
1 parent 3c9c3fe commit d26709f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build_container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,18 @@ jobs:
PUPPETDB_TERMINI_VERSION=${{ matrix.puppetdb_termini_version }}
# we can not yet build arm containers as pdk and bolt are not available for arm
# build_arch: linux/amd64,linux/arm64
docker_username: ${{ vars.DOCKERHUB_USER }}
docker_password: ${{ secrets.DOCKERHUB_TOKEN }}
tags: |
ghcr.io/${{ github.repository }}:${{ github.ref_name }}-${{ matrix.puppet_release }}
ghcr.io/${{ github.repository }}:latest-${{ matrix.puppet_release }}
ghcr.io/${{ github.repository }}:latest
docker.io/${{ github.repository }}:${{ github.ref_name }}-${{ matrix.puppet_release }}
docker.io/${{ github.repository }}:latest-${{ matrix.puppet_release }}
docker.io/${{ github.repository }}:latest
- name: Update Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ vars.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 comments on commit d26709f

Please sign in to comment.