Update release.yml

This commit is contained in:
van Hauser 2022-06-13 17:13:37 +02:00 committed by GitHub
commit 705a6c180d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,8 +24,8 @@ jobs:
- uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- uses: gacts/github-slug@v1 # Action page: <https://github.com/gacts/github-slug>
id: slug
@ -37,8 +37,7 @@ jobs:
push: true
platforms: linux/amd64,linux/arm64,linux/arm/v6,linux/arm/v7
build-args: HYDRA_VERSION="${{ steps.slug.outputs.version-semantic }}"
tags: |
ghcr.io/${{ github.repository }}:${{ steps.slug.outputs.version-semantic }}
tags: vanhauser/hydra:latest
# append the following line to the list above for publishing on hub.docker.com
# (and don't forget to change on a real repo/user name)
# vanhauser-thc/thc-hydra:${{ steps.slug.outputs.version-semantic }}