From d000164fa72407e31bb1add63eccfdc480153125 Mon Sep 17 00:00:00 2001 From: Chris Yocum Date: Tue, 20 Aug 2024 13:20:59 -0400 Subject: [PATCH] Fix latest tag code --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9360c26..74901ab 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -151,6 +151,6 @@ jobs: VERSION=${{ needs.build.outputs.version }} docker buildx imagetools create -t ${IMAGE}:${TAG} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64 docker buildx imagetools create -t ${IMAGE}:${TAG}-${VERSION} ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64 - if [[ ${GITHUB_REF//refs\/heads\//} == main ]]; then + if [[ ${GITHUB_REF//refs\/heads\//} == master ]]; then docker buildx imagetools create -t ${IMAGE}:latest ${SOURCE}-linux-amd64 ${SOURCE}-linux-arm64 fi \ No newline at end of file