Update main.yml
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index aca082a..863ad17 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -36,13 +36,13 @@ jobs:
run: |
docker login https://docker.pkg.github.com -u ${{github.actor}} -p ${{github.token}}
- echo "::set-env name=docker-exists::true"
- docker pull ${{ env.docker-container-url }}:${{ env.docker-sha-tag }} || echo "::set-env name=docker-exists::false"
- - name: Build and publish image
- run: |
- docker build -t ${{ env.docker-container-url }}:${{ env.docker-sha-tag }} --build-arg BASE=${{ matrix.container.base }} -f ${{ matrix.container.name }} .
- docker tag ${{ env.docker-container-url }}:${{ env.docker-sha-tag }} ${{ env.docker-container-url }}:latest
- docker push ${{ docker.container-url }}:${{ env.docker-sha-tag }}
- docker push ${{ docker.container-url }}:latest
- working-directory: ${{ env.docker-config-path }}
- if: env.docker-exists != 'true'
+ echo "::set-env name=docker-container-exists::true"
+ docker pull ${{ env.docker-container-url }}:${{ env.docker-sha-tag }} || echo "::set-env name=docker-container-exists::false"
+# - name: Build and publish image
+# run: |
+# docker build -t ${{ env.docker-container-url }}:${{ env.docker-sha-tag }} --build-arg BASE=${{ matrix.container.base }} -f ${{ matrix.container.name }} .
+# docker tag ${{ env.docker-container-url }}:${{ env.docker-sha-tag }} ${{ env.docker-container-url }}:latest
+# docker push ${{ docker.container-url }}:${{ env.docker-sha-tag }}
+# docker push ${{ docker.container-url }}:latest
+# working-directory: ${{ env.docker-config-path }}
+# if: env.docker-container-exists != 'true'