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