diff --git a/.github/workflows/renderNotebooks.yaml b/.github/workflows/renderNotebooks.yaml index 379064c..17c0fe6 100644 --- a/.github/workflows/renderNotebooks.yaml +++ b/.github/workflows/renderNotebooks.yaml @@ -76,8 +76,8 @@ jobs: uses: actions/checkout@v4 - name: Check if Dockerfile changed - id: dockerfile-check - run: | + id: dockerfile-check + run: | if git diff --name-only HEAD^ HEAD | grep -q 'container/jupyter.Dockerfile'; then echo "dockerfile_changed=true" >> $GITHUB_ENV else @@ -85,20 +85,20 @@ jobs: fi - name: Extract metadata (tags, labels) for Jupyter Docker - id: meta_jupyter - uses: docker/metadata-action@v5.3.0 - with: - images: bcgsc/long-pog-jupyter + id: meta_jupyter + uses: docker/metadata-action@v5.3.0 + with: + images: bcgsc/long-pog-jupyter - name: Build and push Docker image - if: env.dockerfile_changed == 'true' - uses: docker/build-push-action@v5 - with: - file: container/jupyter.Dockerfile - context: . - push: true - tags: ${{ steps.meta_jupyter.outputs.tags }} - labels: ${{ steps.meta_jupyter.outputs.labels }} + if: env.dockerfile_changed == 'true' + uses: docker/build-push-action@v5 + with: + file: container/jupyter.Dockerfile + context: . + push: true + tags: ${{ steps.meta_jupyter.outputs.tags }} + labels: ${{ steps.meta_jupyter.outputs.labels }}