Skip to content

Commit

Permalink
Merge pull request #87 from PNNL-CompBio/data-trigger
Browse files Browse the repository at this point in the history
Data trigger
  • Loading branch information
sgosline authored Jun 28, 2024
2 parents 46f59ef + 861135c commit 009e8bc
Show file tree
Hide file tree
Showing 3 changed files with 1,307 additions and 47 deletions.
107 changes: 60 additions & 47 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,74 +4,87 @@ defaults:
working-directory: ./
on:
push:
paths:
- zfBmd/
- zfExp/
- sampleChemMapping/
- dbSchema/
- exposome/
branches:
- "*"
paths:
- "*"

# - .github/
# - zfBmd/
# - zfExp/
# - sampleChemMapping/
# - dbSchema/
# - exposome/

jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push bmd
uses: docker/build-push-action@v3
- name: Build and push sampleChem
uses: docker/build-push-action@v6
with:
context: zfBmd
file: ./sampleChemMapping/Dockerfile
tags: sgosline/srp-samplechem:latest
push: true
tags: sgosline/srp-zfbmd:latest
platforms: linux/amd64,linux/arm64
- name: Build and push bmd2Samps
uses: docker/build-push-action@v3
with:
context: old/bmd2Samps
push: true
tags: sgosline/srp-bmd2samps:v1
platforms: linux/amd64,linux/arm64
- name: Build and push version 2 bmd2Samps
uses: docker/build-push-action@v3
platforms:
- linux/amd64
- linux/arm64
- name: Build and push exposome
uses: docker/build-push-action@v6
with:
context: old/bmd2Samps_v2
file: ./exposome/Dockerfile
push: true
tags: sgosline/srp-bmd2samps:2
platforms: linux/amd64,linux/arm64
- name: Build and push version 3 bmd2Samps
uses: docker/build-push-action@v3
tags: sgosline/srp-exposome:latest
platforms:
- linux/amd64
- linux/arm64
- name: Build and push dbSchema
uses: docker/build-push-action@v6
with:
context: sampleChemMapping
file: ./dbSchema/Dockerfile
push: true
tags: sgosline/srp-bmd2samps:latest
platforms: linux/amd64,linux/arm64
- name: Build and push exposome
uses: docker/build-push-action@v3
tags: sgosline/srp-dbschema
platforms:
- linux/amd64
- linux/arm64
- name: Build and push expression
uses: docker/build-push-action@v6
with:
context: exposome
file: ./zfExp/Dockerfile
push: true
tags: sgosline/srp-exposome:latest
platforms: linux/amd64,linux/arm64
# - name: Build and push dbSchema
# uses: docker/build-push-action@v3
tags: sgosline/srp-zfexp
platforms:
- linux/amd64
- linux/arm64
# - name: Build and push bmd
# uses: docker/build-push-action@v6
# with:
# context: dbSchema
# context: zfBmd
# push: true
# tags: sgosline/srp-dbschema
# tags: sgosline/srp-zfbmd:latest
# platforms: linux/amd64,linux/arm64
# - name: Build and push bmd2Samps
# uses: docker/build-push-action@v6
# with:
# context: old/bmd2Samps
# push: true
# tags: sgosline/srp-bmd2samps:v1
# platforms: linux/amd64,linux/arm64
# - name: Build and push version 2 bmd2Samps
# uses: docker/build-push-action@v6
# with:
# context: old/bmd2Samps_v2
# push: true
# tags: sgosline/srp-bmd2samps:latest
# platforms: linux/amd64,linux/arm64
- name: Build and push expression
uses: docker/build-push-action@v3
with:
context: zfExp
push: true
tags: sgosline/srp-zfexp
platforms: linux/amd64,linux/arm64
Loading

0 comments on commit 009e8bc

Please sign in to comment.