From 97287a21a18c901c305ad20a0b5c977487f17afa Mon Sep 17 00:00:00 2001 From: Gregor Noczinski Date: Sun, 22 Sep 2024 22:37:48 +0200 Subject: [PATCH] Adjust tags and annotations --- .github/workflows/go.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 9e30564..65e85f8 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -46,7 +46,7 @@ jobs: images: "${{ env.REGISTRY }}/${{ github.repository }}/go" tags: | type=raw,value=${{ matrix.version }} - ${{ matrix.version == env.LATEST && 'type=raw,value=latest' }} + ${{ matrix.version == env.LATEST && 'type=raw,value=latest' || '' }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -65,6 +65,7 @@ jobs: context: ./go tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + annotations: ${{ steps.meta.outputs.annotations }} build-args: GO_VERSION=${{ matrix.version }} push: true