Fix condition (#28)

This commit is contained in:
Alexis Saettler 2020-09-02 17:04:41 +02:00 committed by GitHub
parent 2f721ba70a
commit 58f1fedf2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ jobs:
official-images/test/run.sh monica:${{ matrix.variant }} official-images/test/run.sh monica:${{ matrix.variant }}
- name: Publish package - name: Publish package
if: github.ref == 'master' && matrix.arch != 'i386' if: github.ref == 'refs/heads/master' && matrix.arch != 'i386'
run: | run: |
echo "$password" | docker login ghcr.io -u $username --password-stdin echo "$password" | docker login ghcr.io -u $username --password-stdin
docker tag monica:${{ matrix.variant }} ghcr.io/monicahq/monica-dev:${{ matrix.variant }} docker tag monica:${{ matrix.variant }} ghcr.io/monicahq/monica-dev:${{ matrix.variant }}