Skip to content

Commit

Permalink
Merge pull request #20 from HamWham/main
Browse files Browse the repository at this point in the history
MJG: added action for DAHSI
  • Loading branch information
HamWham authored Aug 21, 2024
2 parents 3541c98 + 61012c9 commit be15896
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/docker_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
- 'sasview/Dockerfile.ubuntu2204'
simpson:
- 'SIMPSON/Dockerfile'
dahsi:
- 'DAHSI/Dockerfile'
- name: Build and push cellprofiler
if: steps.changes.outputs.cellprofiler == 'true'
Expand Down Expand Up @@ -113,3 +115,14 @@ jobs:
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}

- name: Build and push DAHSI
if: steps.changes.outputs.dahsi == 'true'
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:DAHSI"
tags: nuitrcs/dahsi:${{ steps.vars.outputs.sha_short }}
file: Dockerfile
# For pull requests, export results to the build cache.
# Otherwise, push to a registry.
outputs: ${{ github.event_name == 'pull_request' && 'type=cacheonly' || 'type=registry,push=true' }}

0 comments on commit be15896

Please sign in to comment.