Skip to content

Commit

Permalink
add release name to docker image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
pluja committed Aug 26, 2023
1 parent bd0fc1b commit b293447
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ jobs:
file: ${{ matrix.directory }}/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ format('{0}/whishper-{1}:latest', secrets.DOCKERHUB_USERNAME, matrix.directory) }}
tags: |
${{ format('{0}/whishper-{1}:{2}', secrets.DOCKERHUB_USERNAME, matrix.directory, github.event.release.tag_name) }}
${{ format('{0}/whishper-{1}:latest', secrets.DOCKERHUB_USERNAME, matrix.directory) }}

0 comments on commit b293447

Please sign in to comment.