|
46 | 46 | latest=false |
47 | 47 | tags: | |
48 | 48 | type=ref,enable=true,event=branch,suffix=-collector |
49 | | - type=ref,enable=true,event=tag,suffix=-collector |
| 49 | + type=semver,pattern=v{{major}}.{{minor}}.{{patch}},suffix=-collector |
| 50 | + type=semver,pattern=v{{major}}.{{minor}},suffix=-collector |
| 51 | + type=semver,pattern=v{{major}},suffix=-collector |
50 | 52 | images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} |
51 | 53 |
|
52 | 54 | # Build and push Docker image with Buildx (don't push on PR) |
|
99 | 101 | latest=false |
100 | 102 | tags: | |
101 | 103 | type=ref,enable=true,event=branch,suffix=-web |
102 | | - type=ref,enable=true,event=tag,suffix=-web |
| 104 | + type=semver,pattern=v{{major}}.{{minor}}.{{patch}},suffix=-web |
| 105 | + type=semver,pattern=v{{major}}.{{minor}},suffix=-web |
| 106 | + type=semver,pattern=v{{major}},suffix=-web |
103 | 107 | images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} |
104 | 108 | # Build and push Docker image with Buildx (don't push on PR) |
105 | 109 | # https://github.com/docker/build-push-action |
@@ -148,7 +152,9 @@ jobs: |
148 | 152 | with: |
149 | 153 | tags: | |
150 | 154 | type=ref,enable=true,event=branch,suffix=-omnibus |
151 | | - type=ref,enable=true,event=tag,suffix=-omnibus |
| 155 | + type=semver,pattern=v{{major}}.{{minor}}.{{patch}},suffix=-omnibus |
| 156 | + type=semver,pattern=v{{major}}.{{minor}},suffix=-omnibus |
| 157 | + type=semver,pattern=v{{major}},suffix=-omnibus |
152 | 158 | images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} |
153 | 159 | # Build and push Docker image with Buildx (don't push on PR) |
154 | 160 | # https://github.com/docker/build-push-action |
|
0 commit comments