From 0388daa8acd4ac889dba1960e7d01c0d2c796fa8 Mon Sep 17 00:00:00 2001 From: projectmoon Date: Mon, 31 Aug 2020 21:40:42 +0000 Subject: [PATCH] Fix docker push for master --- .github/workflows/dicebot-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dicebot-ci.yml b/.github/workflows/dicebot-ci.yml index e8206c8..65e806f 100644 --- a/.github/workflows/dicebot-ci.yml +++ b/.github/workflows/dicebot-ci.yml @@ -43,7 +43,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} repository: myorg/myrepository tags: latest - push: ${{ startsWith(github.ref, 'master') }} + push: ${{ github.ref == 'refs/heads/master' }} docker_push_tag: needs: build_and_test