Skip to content

Commit

Permalink
try different docker techniuqe
Browse files Browse the repository at this point in the history
  • Loading branch information
sgosline committed Jul 3, 2024
1 parent 38ec84d commit ece9df3
Showing 1 changed file with 48 additions and 30 deletions.
78 changes: 48 additions & 30 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,49 +17,67 @@ on:


jobs:
build-and-push:
build-and-push-sample:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
# - name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
# 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 sampleChem
uses: docker/build-push-action@v3
with:
file: ./sampleChemMapping/Dockerfile
tags: sgosline/srp-samplechem:latest
push: true
platforms: linux/amd64,linux/arm64
- name: Build and push exposome
uses: docker/build-push-action@v3
run:
docker build -t sgosline/srp-samplechem:latest -f ./sampleChemMapping/Dockerfile .
docker push sgosline/srp-samplechem:latest
# platforms: linux/amd64,linux/arm64
build-push-expo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
file: ./exposome/Dockerfile
push: true
tags: sgosline/srp-exposome:latest
platforms: linux/amd64,linux/arm64
- name: Build and push dbSchema
uses: docker/build-push-action@v3
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push expo
run:
docker build -t sgosline/srp-exposome:latest -f ./exposome/Dockerfile .
docker push sgosline/srp-exposome:latest
build-push-db:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
file: ./dbSchema/Dockerfile
push: true
tags: sgosline/srp-dbschema
platforms: linux/amd64,linux/arm64
- name: Build and push expression
uses: docker/build-push-action@v3
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push expo
run:
docker build -t sgosline/srp-dbschema:latest -f ./exposome/dbSchema .
docker push sgosline/srp-dbschema:latest
build-push-exp:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to DockerHub
uses: docker/login-action@v2
with:
file: ./zfExp/Dockerfile
push: true
tags: sgosline/srp-zfexp
platforms: linux/amd64,linux/arm64

username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push expo
run:
docker build -t sgosline/srp-zfexp:latest -f ./zfExp/Dockerfile .
docker push sgosline/srp-zfexp:latest
# - name: Build and push bmd
# uses: docker/build-push-action@v6
# with:
Expand Down

0 comments on commit ece9df3

Please sign in to comment.