Update maven-publish.yml

This commit is contained in:
Yevhenii Pokhvalii 2021-03-06 18:00:24 +02:00 committed by GitHub
parent cfe19fb582
commit 875c85ac1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,10 +30,10 @@ jobs:
run: mvn -B package --file pom.xml run: mvn -B package --file pom.xml
- name: Build and Push Docker Image - name: Build and Push Docker Image
uses: mr-smithers-excellent/docker-build-push@v4 uses: mr-smithers-excellent/docker-build-push@v5
with: with:
image: eugenedemo1/pet-clinic-maven-test image: eugenedemo1/pet-clinic-maven-test
tag: v1, latest tags: v1, latest
registry: docker.io registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}