Skip to content

Commit

Permalink
Docker changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek081141 committed Jul 6, 2024
1 parent 42ac1c9 commit 1fb452b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
with:
context: .
push: true
platforms: linux/arm64 # Mac M1 chip
tags: ${{ secrets.DOCKER_USERNAME }}/my-springboot-mongo-app:latest

- name: Log out from Docker Hub
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
- SPRING_PROFILES_ACTIVE=prod
depends_on:
- mongodb
platform: linux/amd64
platform: linux/arm64

volumes:
mongo-data:
Expand Down

0 comments on commit 1fb452b

Please sign in to comment.