Skip to content

Commit

Permalink
Update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
OlegRyazancev committed Mar 19, 2024
1 parent 1de09ae commit fc5c506
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ jobs:
run: mvn clean install

- name: Push to DockerHub via Jib-Maven-Plugin
run: mvn clean package -P build-docker-image
env:
DOCKER_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
echo "${DOCKERHUB_PASSWORD}" | docker login -u "${DOCKERHUB_USERNAME}" --password-stdin
mvn clean package -P build-docker-image

0 comments on commit fc5c506

Please sign in to comment.