We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e9237 commit f04a6e0Copy full SHA for f04a6e0
.github/workflows/release.yaml
@@ -28,15 +28,16 @@ jobs:
28
29
- name: Build and push
30
uses: docker/build-push-action@v6
31
+ if: !startsWith(github.ref_name, 'v')
32
with:
33
push: true
34
platforms: linux/amd64,linux/arm64
35
tags: ghcr.io/port-labs/port-sender:${{ github.ref_name }}
36
- - name: Push latest tag
37
+ - name: Build and push with latest tag
38
- if: startsWith(github.ref, 'refs/tags/v')
39
+ if: startsWith(github.ref_name, 'v')
40
41
42
- tags: ghcr.io/port-labs/port-sender:latest
43
+ tags: ghcr.io/port-labs/port-sender:${{ github.ref_name }},ghcr.io/port-labs/port-sender:latest
0 commit comments