-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from PNNL-CompBio/dev
renamed actions and broke them down to smaller ones
- Loading branch information
Showing
5 changed files
with
46 additions
and
15 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Docker-build-metrics | ||
defaults: | ||
run: | ||
working-directory: ./ | ||
on: | ||
push: | ||
paths: | ||
- 'metrics/figures/*' | ||
- 'metrics/correlation/*' | ||
|
||
jobs: | ||
build-and-push-tools: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER }} | ||
password: ${{ secrets.DOCKERHUB_PASSWORD }} | ||
- name: Build and push correlations | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: metrics/correlations | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: tumordeconv/correlation:latest | ||
- name: Build and push figures | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: metrics/figures | ||
platforms: linux/amd64,linux/arm64 | ||
push: true | ||
tags: tumordeconv/figures:latest | ||
|
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