diff --git a/.github/workflows/build_and_push_python_image.yml b/.github/workflows/build_and_push_python_image.yml index cbc7f802..9fd8b8b4 100644 --- a/.github/workflows/build_and_push_python_image.yml +++ b/.github/workflows/build_and_push_python_image.yml @@ -4,6 +4,7 @@ on: push: paths: - python3.9-data-science/Dockerfile + - .github/workflows/build_and_push_python_image.yml jobs: python_3-9: diff --git a/.github/workflows/build_brh_notebook_image.yml b/.github/workflows/build_brh_notebook_image.yml index 2650ff08..91bc0e70 100644 --- a/.github/workflows/build_brh_notebook_image.yml +++ b/.github/workflows/build_brh_notebook_image.yml @@ -4,6 +4,7 @@ on: push: paths: - BRH-notebooks/*/** + - .github/workflows/build_brh_notebook_image.yml jobs: push-image: diff --git a/.github/workflows/build_heal_notebook_image.yml b/.github/workflows/build_heal_notebook_image.yml index 040a0e65..11a24cbe 100644 --- a/.github/workflows/build_heal_notebook_image.yml +++ b/.github/workflows/build_heal_notebook_image.yml @@ -4,11 +4,12 @@ on: push: paths: - HEAL-notebooks/*/** + - .github/workflows/build_heal_notebook_image.yml jobs: push-image: runs-on: ubuntu-latest - steps: + steps: - name: Maximize build space uses: easimon/maximize-build-space@master with: @@ -17,10 +18,10 @@ jobs: remove-dotnet: 'true' remove-android: 'true' remove-haskell: 'true' - + - name: clean - run: sudo apt clean - + run: sudo apt clean + - name: Extract branch name shell: bash run: echo "::set-output name=branch::$(echo $(echo ${GITHUB_REF#refs/heads/} | tr / _))" diff --git a/.github/workflows/build_jupyter_nextflow_image.yml b/.github/workflows/build_jupyter_nextflow_image.yml new file mode 100644 index 00000000..437acaab --- /dev/null +++ b/.github/workflows/build_jupyter_nextflow_image.yml @@ -0,0 +1,22 @@ +name: Build Push to Quay and ECR + +on: + push: + paths: + - jupyter-nextflow/Dockerfile + - .github/workflows/build_jupyter_nextflow_image.yml + +jobs: + jupyter-nextflow: + name: Build and Push jupyter-nextflow + uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master + with: + DOCKERFILE_LOCATION: "./jupyter-nextflow/Dockerfile" + DOCKERFILE_BUILD_CONTEXT: "./jupyter-nextflow" + OVERRIDE_REPO_NAME: "jupyter-notebook" + OVERRIDE_TAG_NAME: "nextflow-$(echo ${GITHUB_REF#refs/*/} | tr / _)" + secrets: + ECR_AWS_ACCESS_KEY_ID: ${{ secrets.ECR_AWS_ACCESS_KEY_ID }} + ECR_AWS_SECRET_ACCESS_KEY: ${{ secrets.ECR_AWS_SECRET_ACCESS_KEY }} + QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} + QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }}