Skip to content

Commit

Permalink
Adjust tags and annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
blaubaer committed Sep 22, 2024
1 parent 73dffeb commit 97287a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 97287a2

Please sign in to comment.