Skip to content

Commit 4972785

Browse files
committed
Remove v from tags
1 parent 8b88fea commit 4972785

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,11 @@ jobs:
125125
flavor: |
126126
latest=${{ (inputs.tag != '' && 'true') || 'auto' }}
127127
tags: |
128-
type=semver,pattern={{version}},suffix=${{ inputs.build-os != '' && format('-{0}', inputs.build-os) || '' }}
128+
type=semver,pattern={{version}},value=${{ inputs.tag }},enable=${{ inputs.tag != '' }},suffix=${{ inputs.build-os != '' && format('-{0}', inputs.build-os) || '' }}
129129
type=edge,suffix=${{ inputs.build-os != '' && format('-{0}', inputs.build-os) || '' }}
130130
type=schedule,suffix=${{ inputs.build-os != '' && format('-{0}', inputs.build-os) || '' }}
131131
type=ref,event=pr,suffix=${{ inputs.build-os != '' && format('-{0}', inputs.build-os) || '' }}
132132
type=ref,event=branch,suffix=-rc${{ inputs.build-os != '' && format('-{0}', inputs.build-os) || '' }},enable=${{ startsWith(github.ref, 'refs/heads/release') && inputs.tag == '' }}
133-
type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' }},suffix=${{ inputs.build-os != '' && format('-{0}', inputs.build-os) || '' }}
134133
labels: |
135134
org.opencontainers.image.documentation=https://docs.nginx.com/nginx-gateway-fabric
136135
org.opencontainers.image.vendor=NGINX Inc <[email protected]>

.github/workflows/helm.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,11 @@ jobs:
4444
images: |
4545
name=ghcr.io/nginx/nginx-gateway-fabric
4646
tags: |
47-
type=semver,pattern={{version}}
47+
type=semver,pattern={{version}},value=${{ inputs.tag }},enable=${{ inputs.tag != '' }}
4848
type=edge
4949
type=schedule
5050
type=ref,event=pr
5151
type=ref,event=branch,suffix=-rc,enable=${{ startsWith(github.ref, 'refs/heads/release') && inputs.tag == '' }}
52-
type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' }}
5352
5453
- name: NGINX Docker meta
5554
id: nginx-meta
@@ -58,12 +57,11 @@ jobs:
5857
images: |
5958
name=ghcr.io/nginx/nginx-gateway-fabric/${{ inputs.image == 'plus' && 'nginx-plus' || inputs.image }}
6059
tags: |
61-
type=semver,pattern={{version}}
60+
type=semver,pattern={{version}},value=${{ inputs.tag }},enable=${{ inputs.tag != '' }}
6261
type=edge
6362
type=schedule
6463
type=ref,event=pr
6564
type=ref,event=branch,suffix=-rc,enable=${{ startsWith(github.ref, 'refs/heads/release') && inputs.tag == '' }}
66-
type=raw,value=${{ inputs.tag }},enable=${{ inputs.tag != '' }}
6765
6866
- name: Build NGF Docker Image
6967
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0

0 commit comments

Comments
 (0)