From d7a245d97485e9d93ecdabf1e779245f84163a2e Mon Sep 17 00:00:00 2001 From: Bill Church Date: Sat, 30 Jul 2022 11:39:46 -0400 Subject: [PATCH] chore: update workflow --- .github/workflows/docker-multiplatform.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-multiplatform.yml b/.github/workflows/docker-multiplatform.yml index a07279f..9cc679b 100644 --- a/.github/workflows/docker-multiplatform.yml +++ b/.github/workflows/docker-multiplatform.yml @@ -18,13 +18,13 @@ jobs: id: prep run: | DOCKER_IMAGE=${{ secrets.DOCKER_USERNAME }}/${GITHUB_REPOSITORY#*/} - VERSION=latest + VERSION=main SHORTREF=${GITHUB_SHA::8} # If this is git tag, use the tag name as a docker tag if [[ $GITHUB_REF == refs/tags/* ]]; then VERSION=${GITHUB_REF#refs/tags/v} fi - + TAGS="${DOCKER_IMAGE}:${VERSION},${DOCKER_IMAGE}:${SHORTREF}" # If the VERSION looks like a version number, assume that # this is the most recent version of the image and also