Skip to content

Commit

Permalink
Fix Docker Buildx
Browse files Browse the repository at this point in the history
  • Loading branch information
harshraj22 authored Jan 9, 2023
1 parent 7c855f5 commit 66e6a39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/dockerhub_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,34 +24,39 @@ jobs:
with:
context: ./src/api/.
file: ./src/api/Dockerfile
platforms: linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_api:${{ github.event.release.tag_name }},${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_api:latest
- name: Build and push dis-sim-auth
uses: docker/build-push-action@v3
with:
context: ./src/auth/.
file: ./src/auth/Dockerfile
platforms: linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_auth:${{ github.event.release.tag_name }},${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_auth:latest
- name: Build and push dis-sim-frontend
uses: docker/build-push-action@v3
with:
context: ./src/frontend/.
file: ./src/frontend/Dockerfile
platforms: linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_frontend:${{ github.event.release.tag_name }},${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_frontend:latest
- name: Build and push dis-sim-monitor
uses: docker/build-push-action@v3
with:
context: ./src/monitor/.
file: ./src/monitor/Dockerfile
platforms: linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_monitor:${{ github.event.release.tag_name }},${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_monitor:latest
- name: Build and push dis-sim-similarity
uses: docker/build-push-action@v3
with:
context: ./src/similarity/.
file: ./src/similarity/Dockerfile
platforms: linux/amd64,linux/amd64/v2,linux/amd64/v3,linux/amd64/v4,linux/arm64,linux/arm/v7,linux/arm/v6
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_similarity:${{ github.event.release.tag_name }},${{ secrets.DOCKER_HUB_USERNAME }}/dis_sim_similarity:latest

0 comments on commit 66e6a39

Please sign in to comment.