We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b77757 commit 7f4e0a6Copy full SHA for 7f4e0a6
1 file changed
.github/workflows/docker.yml
@@ -5,7 +5,7 @@ on:
5
tags:
6
- '*'
7
branches:
8
- - main
+ - '**'
9
workflow_dispatch:
10
11
env:
@@ -42,11 +42,11 @@ jobs:
42
with:
43
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
44
tags: |
45
- type=semver,pattern={{version}}
46
- type=semver,pattern={{major}}.{{minor}}
+ type=semver,pattern={{version}},enable=${{ github.ref_type == 'tag' }}
+ type=semver,pattern={{major}}.{{minor}},enable=${{ github.ref_type == 'tag' }}
47
type=raw,value=latest,enable=${{ github.ref_type == 'tag' }}
48
type=raw,value=nightly,enable=${{ github.ref == 'refs/heads/main' }}
49
- type=sha
+ type=sha,prefix=sha-
50
51
- name: Build and push
52
uses: docker/build-push-action@v6
0 commit comments