Skip to content

Commit

Permalink
Fix broken build-push action (#279)
Browse files Browse the repository at this point in the history
Fixes #278
  • Loading branch information
espenhgn authored Oct 10, 2024
1 parent 3cbf616 commit 5087cc3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/docker_build_push_gwas.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# action to build and push the gwas Docker and Singularity image at each tag (for release)
name: container build push
name: build gwas Docker image

on:
push:
Expand All @@ -16,6 +16,11 @@ jobs:
-
name: Checkout repository
uses: actions/checkout@v4
with:
lfs: 'true'
sparse-checkout: |
test-requirements.txt
tests
-
name: Docker meta
id: meta
Expand Down Expand Up @@ -59,7 +64,7 @@ jobs:
py.test -v tests/test_gwas.py
-
name: Build and push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:docker"
push: ${{ github.event_name != 'pull_request' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_build_push_hello.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# action to build and push the hello Docker and Singularity image at each tag (for release)
name: container build push
name: build & push hello Docker image

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_build_push_python3.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# action to build and push the python3 Docker and Singularity image at each tag (for release)
name: container build push
name: build & push python3 Docker image

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker_build_push_r.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# action to build and push the r Docker and Singularity image at each tag (for release)
name: container build push
name: build & push r Docker image

on:
push:
Expand Down

0 comments on commit 5087cc3

Please sign in to comment.