We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 659398d commit 72314b0Copy full SHA for 72314b0
.github/workflows/tag.yml
@@ -2,7 +2,7 @@ name: Tag
2
3
on:
4
release:
5
- types: [released]
+ types: [released, prereleased]
6
7
jobs:
8
docker-image:
@@ -38,7 +38,9 @@ jobs:
38
uses: docker/build-push-action@v6
39
with:
40
context: .
41
- push: true
42
- tags: ghcr.io/matiasg19/ping:latest
+ push: ${{ github.event_name == 'release' }}
+ tags: |
43
+ ghcr.io/matiasg19/ping:latest
44
+ ghcr.io/matiasg19/ping:${{ github.ref_name }}
45
labels: ${{ steps.meta.outputs.labels }}
46
platforms: linux/amd64,linux/arm64
0 commit comments