From f3de82087a704350b8775af10a6c0d82bdf8f7bd Mon Sep 17 00:00:00 2001 From: xeptore <29199390+xeptore@users.noreply.github.com> Date: Wed, 22 Mar 2023 19:06:28 +0330 Subject: [PATCH] use latest docker image tag for latest git tag Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com> --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53b5378..613b99e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,7 +62,7 @@ jobs: maintainer=${{ github.repository_owner }} org.opencontainers.image.authors=${{ github.repository_owner }} flavor: | - latest=${{ github.ref_type != 'tag' && !startsWith(github.ref, 'refs/tags/') }} + latest=${{ github.ref_type == 'tag' && startsWith(github.ref, 'refs/tags/') }} prefix=,onlatest=false suffix=,onlatest=false - name: Setup Docker Buildx