From 8d9b75e97d864b00b18548b7c05c66d3922ddebe Mon Sep 17 00:00:00 2001 From: Henry <97804910+henryclw@users.noreply.github.com> Date: Thu, 28 Apr 2022 16:35:52 -0700 Subject: [PATCH] Use refs/heads/master directly in docker.yml https://github.com/matrix-org/synapse/pull/12573#discussion_r861161990 --- .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 82ff1e35bc56..38f69abd595e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -43,7 +43,7 @@ jobs: type=ref,event=branch type=semver,pattern={{version}} # set latest tag for master branch - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} + type=raw,value=latest,enable=${{ github.ref == "refs/heads/master" }} - name: Build and push all platforms uses: docker/build-push-action@v2