Skip to content

Commit

Permalink
use jib
Browse files Browse the repository at this point in the history
  • Loading branch information
okiyama committed Jun 12, 2024
1 parent 05c3068 commit ee8c298
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,8 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}

- name: Build and push Docker image
run: |
pwd
docker build -t ${{ secrets.DOCKER_HUB_USERNAME }}/writeshite-backend:latest ./docker/Dockerfile
docker push ${{ secrets.DOCKER_HUB_USERNAME }}/writeshite-backend:latest
- name: Build and push Docker image with Jib
run: ./gradlew jib

deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ee8c298

Please sign in to comment.