Update main.yml
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ed00e95..062d6f3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -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