-
Notifications
You must be signed in to change notification settings - Fork 149
Open
Labels
Description
Contributing guidelines
- I've read the contributing guidelines and wholeheartedly agree
I've found a bug, and:
- The documentation does not mention anything about my problem
- There are no open or closed issues that are related to my problem
Description
I'm using the configuration pasted below and run this workflow on a v0.4.1 tag.
Expected behaviour
I'd expect the following tags according to docs:
"quay.io/stackrox-io/image-prefetcher:v0.4.1-s390x",
"quay.io/stackrox-io/image-prefetcher:v0.4-s390x",
"quay.io/stackrox-io/image-prefetcher:v0-s390x",
"quay.io/stackrox-io/image-prefetcher:sha-1f1047a-s390x",
"quay.io/stackrox-io/image-prefetcher:latest-s390"
Actual behaviour
Instead results in the following tags:
"quay.io/stackrox-io/image-prefetcher:v0.4.1-s390x",
"quay.io/stackrox-io/image-prefetcher:v0.4-s390x",
"quay.io/stackrox-io/image-prefetcher:v0-s390x",
"quay.io/stackrox-io/image-prefetcher:sha-1f1047a-s390x",
"quay.io/stackrox-io/image-prefetcher:latest"
Note the lack of suffix on the last line.
Repository URL
https://github.com/stackrox/image-prefetcher
Workflow run URL
YAML workflow
- name: Prepare manifest OCI metadata for s390x
id: meta-s390x
uses: docker/metadata-action@v5
with:
images: "quay.io/stackrox-io/image-prefetcher"
flavor: suffix=-s390x
tags: |
type=ref,event=branch,prefix=branch-
type=semver,pattern=v{{major}}.{{minor}}.{{patch}}
type=semver,pattern=v{{major}}.{{minor}}
type=semver,pattern=v{{major}}
type=shaWorkflow logs
Bake file definition (tags)
{
"target": {
"docker-metadata-action": {
"tags": [
"quay.io/stackrox-io/image-prefetcher:v0.4.1-s390x",
"quay.io/stackrox-io/image-prefetcher:v0.4-s390x",
"quay.io/stackrox-io/image-prefetcher:v0-s390x",
"quay.io/stackrox-io/image-prefetcher:sha-1f1047a-s390x",
"quay.io/stackrox-io/image-prefetcher:latest"
],
"args": {
"DOCKER_META_IMAGES": "quay.io/stackrox-io/image-prefetcher",
"DOCKER_META_VERSION": "v0.4.1-s390x"
}
}
}
}
BuildKit logs
Additional info
No response