Fix issue with empty CI tag

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alex@openfaas.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd) 2022-12-14 11:33:42 +00:00
parent e3171b49b0
commit 3bafff7e09

View File

@ -46,7 +46,6 @@ jobs:
GIT_COMMIT=${{ github.sha }}
tags: |
ghcr.io/${{ env.REPO_OWNER }}/gateway:${{ github.sha }}
ghcr.io/${{ env.REPO_OWNER }}/gateway:${{ env.TAG }}
ghcr.io/${{ env.REPO_OWNER }}/gateway:latest
build-auth-plugins:
@ -85,5 +84,4 @@ jobs:
platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: |
ghcr.io/${{ env.REPO_OWNER }}/${{ matrix.svc }}:${{ github.sha }}
ghcr.io/${{ env.REPO_OWNER }}/${{ matrix.svc }}:${{ env.TAG }}
ghcr.io/${{ env.REPO_OWNER }}/${{ matrix.svc }}:latest