aednichols Docker Build Test #2418
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Docker Build Test' | |
# This test verifies that we can successfully build the same docker images that we release. | |
# Includes `cromwell`, `womtool`, `cromiam`, and `cromwell-drs-localizer` | |
# See chart_update_on_merge.yml for the actual release workflow. | |
run-name: ${{ github.actor }} Docker Build Test | |
on: | |
workflow_dispatch: | |
push: | |
merge_group: | |
permissions: | |
contents: read | |
jobs: | |
sbt-build: | |
name: sbt docker build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Cromwell | |
uses: actions/checkout@v2 | |
with: | |
repository: broadinstitute/cromwell | |
token: ${{ secrets.BROADBOT_GITHUB_TOKEN }} | |
path: cromwell | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
# The following invocation should be as similar as possible to the one in chart_update_on_merge.yml | |
# To state the obvious: This test should not publish anything. It should simply verify that the build completes. | |
- name: Build Cromwell Docker | |
run: | | |
set -e | |
cd cromwell | |
sbt -Dproject.isSnapshot=false docker | |
# Rarely used but we really want it always working for emergencies | |
- name: Build Cromwell Debug Docker | |
run: | | |
set -e | |
cd cromwell | |
sbt -Dproject.isDebug=true docker |