From 9430aa2c3bfd7faef7d57719be38db070608f857 Mon Sep 17 00:00:00 2001 From: niklhut <49069026+niklhut@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:28:07 +0100 Subject: [PATCH 1/2] Add support for latest tag --- .github/workflows/docker-img.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker-img.yml b/.github/workflows/docker-img.yml index 43d1317..941cbdb 100644 --- a/.github/workflows/docker-img.yml +++ b/.github/workflows/docker-img.yml @@ -41,6 +41,7 @@ jobs: with: images: ${{ env.REGISTRY }}/${{ github.repository }} tags: | + latest=true type=ref,event=branch type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} From f24ebf4b3cccafe88fcda4c3a24c22f42b1d045b Mon Sep 17 00:00:00 2001 From: niklhut <49069026+niklhut@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:31:38 +0100 Subject: [PATCH 2/2] Add latest via flavor --- .github/workflows/docker-img.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-img.yml b/.github/workflows/docker-img.yml index 941cbdb..373bcfa 100644 --- a/.github/workflows/docker-img.yml +++ b/.github/workflows/docker-img.yml @@ -40,8 +40,9 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY }}/${{ github.repository }} - tags: | + flavor: | latest=true + tags: | type=ref,event=branch type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}}