diff --git a/.github/workflows/docker-release.yml b/.github/workflows/docker-release.yml index b2faa9d77..41e0d7558 100644 --- a/.github/workflows/docker-release.yml +++ b/.github/workflows/docker-release.yml @@ -46,6 +46,8 @@ jobs: set -x export repo=${srcrepo} + export git_tag=${TAG_NAME} + export major_version=${git_tag%\.*} docker buildx imagetools create -t ${repo}:stable ${srcrepo}:latest docker buildx imagetools create -t ${repo}:${git_tag} ${srcrepo}:latest docker buildx imagetools create -t ${repo}:${major_version} ${srcrepo}:latest