Unverified Commit 6ad47348 by Edward Thomson Committed by GitHub

Update main.yml

parent 8e794b0e
......@@ -40,11 +40,9 @@ jobs:
docker pull ${{ env.docker-container-url }}:${{ env.docker-sha-tag }} || echo "::set-env name=docker-container-exists::false"
- name: Build and publish image
run: |
echo hi
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'
# 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment