Skip to content

Commit 18739c4

Browse files
committed
Explicitly pas in the value for the image metadatas, as is done in plone-frontend
Add the literal plone-version as a tag in metada, so a release image from the 6.1.x branch also has the full plone-version from version.txt
1 parent cc0c4f1 commit 18739c4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/image-release.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ jobs:
5858
tags: |
5959
type=ref,event=branch
6060
type=ref,event=pr
61-
type=pep440,pattern={{version}}
62-
type=pep440,pattern={{major}}.{{minor}}.{{patch}}
63-
type=pep440,pattern={{major}}.{{minor}}
64-
type=pep440,pattern={{major}}
61+
type=pep440,pattern={{version}}, value=${{ inputs.plone-version }}
62+
type=pep440,pattern={{major}}.{{minor}}.{{patch}}, value=${{ inputs.plone-version }}
63+
type=pep440,pattern={{major}}.{{minor}}, value=${{ inputs.plone-version }}
64+
type=pep440,pattern={{major}}, value=${{ inputs.plone-version }}
6565
type=sha
6666
type=raw,value=latest,enable=${{ inputs.is-latest }}
67+
type=raw,value=${{ inputs.plone-version }}
6768
6869
- name: Set up QEMU
6970
uses: docker/setup-qemu-action@v3
@@ -85,7 +86,7 @@ jobs:
8586
password: ${{ secrets.docker-registry-password }}
8687

8788
- name: Build and push
88-
uses: docker/build-push-action@v4
89+
uses: docker/build-push-action@v6
8990
with:
9091
platforms: ${{ inputs.platforms }}
9192
context: .

0 commit comments

Comments
 (0)