From ff084661a218549a28e1b22e130493333925bb9f Mon Sep 17 00:00:00 2001 From: Gabe Cook Date: Fri, 6 Jan 2023 02:43:21 -0600 Subject: [PATCH] :art: (ci): Simplify git ref check --- .github/workflows/docker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 59dd5c5..65363ab 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -45,7 +45,7 @@ jobs: images: | ghcr.io/gabe565/domain-watch tags: | - type=raw,priority=1000,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} + type=raw,priority=1000,value=latest,enable=${{ github.ref == 'refs/heads/main' }} type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}}