diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index e678c49..b91285f 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -96,7 +96,7 @@ jobs: b4tman/squid ghcr.io/b4tman/squid flavor: | - latest=auto + latest=${{ github.ref == 'refs/heads/main' }} tags: | type=ref,event=branch type=semver,pattern={{version}} @@ -110,8 +110,8 @@ jobs: b4tman/squid ghcr.io/b4tman/squid flavor: | - latest=auto - suffix=ssl-bump + latest=false + suffix=-ssl-bump tags: | type=ref,event=branch type=semver,pattern={{version}} @@ -124,7 +124,7 @@ jobs: images: | ghcr.io/b4tman/squid-ssl-bump flavor: | - latest=auto + latest=${{ github.ref == 'refs/heads/main' }} tags: | type=ref,event=branch type=semver,pattern={{version}}