Skip to content

Commit

Permalink
Build CLI image on release (#443)
Browse files Browse the repository at this point in the history
Build, tag and push CLI image to Dockerhub on release.
  • Loading branch information
seallard authored May 15, 2024
1 parent 440c1c6 commit ffbd805
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build_dockerfile_on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,18 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2.2.1

- name: Build and push
id: docker_build
- name: Build image for web API
uses: docker/build-push-action@v3.2.0
with:
context: ./
file: ./Dockerfile
push: true
tags: "clinicalgenomics/trailblazer:${{github.event.release.tag_name}}, clinicalgenomics/trailblazer:latest, clinicalgenomics/trailblazer-stage:${{github.event.release.tag_name}}"

- name: Build image for CLI
uses: docker/build-push-action@v3.2.0
with:
context: ./
file: ./Dockerfile-cli
push: true
tags: "clinicalgenomics/trailblazer-cli:${{github.event.release.tag_name}}, clinicalgenomics/trailblazer-cli:latest"

0 comments on commit ffbd805

Please sign in to comment.