Skip to content

Commit

Permalink
Update maven-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mariachrisochoou authored Apr 25, 2024
1 parent 501f5a3 commit 5352729
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
run: mvn -f lab/ clean install -DskipTests

- name: Build Docker Image
run: docker build -t labapp .
run: docker build -f lab/Dockerfile -t labapp .

- name: Push Docker Image
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: docker push labapp
# - name: Push Docker Image
# uses: docker/login-action@v3
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
# - run: docker push labapp

0 comments on commit 5352729

Please sign in to comment.