From cfe30f58b958f0f475f0eff5b24a20b7ece8bf90 Mon Sep 17 00:00:00 2001 From: koneill Date: Thu, 5 Sep 2024 12:31:39 -0700 Subject: [PATCH] lint yaml --- .github/workflows/renderNotebooks.yaml | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) 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 }}