Skip to content

Commit

Permalink
Merge pull request #51 from guma2k2/cart-feature
Browse files Browse the repository at this point in the history
integrate ci
  • Loading branch information
guma2k2 authored Aug 30, 2024
2 parents dd2c93e + 5227af0 commit 38fe29e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ jobs:
java-version: '17'
- name: Unit Tests
run: mvn -B test --file pom.xml

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
- name: Build the application
run: |
mvn clean
Expand All @@ -28,12 +34,6 @@ jobs:
dockerfile: Dockerfile
push: false
tags: ${{ secrets.DOCKER_USERNAME }}/elearning-be
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}

- name: Push to Docker Hub
uses: docker/build-push-action@v3
with:
Expand Down

0 comments on commit 38fe29e

Please sign in to comment.