on master help sign in
match proper refs heads in docker ci
commit00aa2a4dea5a3221707a976e02120c977d81ee53 authorAgentM <agentm@themactionfaction.com> dateThu 6 Aug 2020, 10:34 (6 years ago) parent9109209
1 file changed+3−3
.github/workflows/ci.yaml+3−3
.github/workflows/ci.yaml+3−3
@@ -21,9 +21,9 @@ jobs:
2121 run: echo ${{secrets.DOCKERHUB_PASSWORD}} | docker login --username ${{secrets.DOCKERHUB_USER}} --password-stdin
2222 - name: docker tag with version
2323 run: docker tag project-m36:latest projectm36/project-m36:$(awk '/^Version:/ {print $2}' project-m36.cabal)
24− if: ${{ github.ref == 'master' }}
24+ if: ${{ github.ref == 'refs/heads/master' }}
2525 - name: docker tag latest
2626 run: docker tag project-m36:latest projectm36/project-m36:latest
27− if: ${{ github.ref == 'master' }}
27+ if: ${{ github.ref == 'ref/heads/master' }}
2828 - run: docker push projectm36/project-m36
29− if: ${{ github.ref == 'master' }}
29+ if: ${{ github.ref == 'refs/heads/master' }}