Skip to content

Commit

Permalink
chore: github actions yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
GayeongKimm committed Jul 30, 2024
1 parent 4c8b523 commit f199506
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,15 @@ jobs:
- name: Build with Gradle
run: ./gradlew build -x test

- name: List build/libs contents
run: ls -la build/libs

- name: Docker build
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }}
docker build -t ${{ secrets.DOCKER_USERNAME }}/sopo .
docker push ${{ secrets.DOCKER_USERNAME }}/sopo:latest
- name: Deploy with SSH
if: github.ref == 'refs/heads/main'
Expand Down

0 comments on commit f199506

Please sign in to comment.