diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c27ef18..5ab6920 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,8 +14,8 @@ jobs: - name: Log into GitHub Docker Registry run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u ${GITHUB_REPOSITORY%/*} --password-stdin - if: github.ref == master + if: github.ref == 'master' - name: Push the Docker container run: docker push docker.pkg.github.com/${GITHUB_REPOSITORY,,}/website:latest - if: github.ref == master + if: github.ref == 'master'