From b293447f69f1ce36aac6c11b0e883c81b561d25a Mon Sep 17 00:00:00 2001 From: pluja Date: Sat, 26 Aug 2023 17:14:07 +0200 Subject: [PATCH] add release name to docker image tags --- .github/workflows/docker-image.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5131ece..63d7ea5 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -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) }} +