Update main.yml
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index e66064d..1363b4a 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -30,7 +30,7 @@ jobs:
docker login https://docker.pkg.github.com -u ${{github.actor}} -p ${{github.token}}
- name: Download image
run: |
- docker pull docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }} || echo "::set-env name=docker-exists::true"
+ docker pull docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }} && echo "::set-env name=docker-exists::true"
- name: Build image
run: |
docker build -t docker.pkg.github.com/${{ github.repository }}/${{ matrix.container.name }}:${{ env.docker-label }} --build-arg BASE=${{ matrix.container.base }} -f ${{ matrix.container.name }} .