Skip to content

Commit

Permalink
add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulineribeyre committed Jul 27, 2023
1 parent 0b2d389 commit 3bc0a87
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build_and_push_python_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- python3.9-data-science/Dockerfile
- .github/workflows/build_and_push_python_image.yml

jobs:
python_3-9:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_brh_notebook_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- BRH-notebooks/*/**
- .github/workflows/build_brh_notebook_image.yml

jobs:
push-image:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/build_heal_notebook_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 / _))"
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/build_jupyter_nextflow_image.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 3bc0a87

Please sign in to comment.