From 491f67021569da553aa8617b621e046ec8a031cf Mon Sep 17 00:00:00 2001 From: slong753 Date: Tue, 9 May 2023 22:52:00 -0500 Subject: [PATCH 1/2] I think this is what they're looking for --- .github/workflows/docker-alpine.yml | 1 + .github/workflows/docker.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/docker-alpine.yml b/.github/workflows/docker-alpine.yml index 0a5c28ee53..3ceecadbc8 100644 --- a/.github/workflows/docker-alpine.yml +++ b/.github/workflows/docker-alpine.yml @@ -32,6 +32,7 @@ jobs: type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine type=ref,event=tag,suffix=-alpine + type=semver,prefix=v{{major}}-latest-alpine # Define default tag "flavor" for docker/metadata-action per # https://github.com/docker/metadata-action#flavor-input # We turn off 'latest' tag by default. diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5aa2758e79..d177cd39e3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,6 +32,7 @@ jobs: type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=tag + type=semver,prefix=v{{major}}-latest # Define default tag "flavor" for docker/metadata-action per # https://github.com/docker/metadata-action#flavor-input # We turn off 'latest' tag by default. From 9a4ba78c19cb6ab005fcbed0bfc1cc68df577ca9 Mon Sep 17 00:00:00 2001 From: slong753 Date: Tue, 9 May 2023 23:41:21 -0500 Subject: [PATCH 2/2] oops, pattern --- .github/workflows/docker-alpine.yml | 2 +- .github/workflows/docker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-alpine.yml b/.github/workflows/docker-alpine.yml index 3ceecadbc8..81e8b31a44 100644 --- a/.github/workflows/docker-alpine.yml +++ b/.github/workflows/docker-alpine.yml @@ -32,7 +32,7 @@ jobs: type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }},suffix=-alpine type=ref,event=tag,suffix=-alpine - type=semver,prefix=v{{major}}-latest-alpine + type=semver,pattern=v{{major}}-latest-alpine # Define default tag "flavor" for docker/metadata-action per # https://github.com/docker/metadata-action#flavor-input # We turn off 'latest' tag by default. diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d177cd39e3..616726abaa 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -32,7 +32,7 @@ jobs: type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=branch,enable=${{ !endsWith(github.ref, github.event.repository.default_branch) }} type=ref,event=tag - type=semver,prefix=v{{major}}-latest + type=semver,pattern=v{{major}}-latest # Define default tag "flavor" for docker/metadata-action per # https://github.com/docker/metadata-action#flavor-input # We turn off 'latest' tag by default.