Update docker-image.yml

This commit is contained in:
Halilović Adis 2021-06-26 13:44:29 +02:00 committed by GitHub
parent 322d000cd3
commit 845809970c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,11 +15,11 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Build the Docker image - name: Build the Docker image
run: docker build -t spring-petclinic . run: docker build -t hllvc/spring-petclinic .
- name: Login to Docker Hub - name: Login to Docker Hub
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
username: ${{ secrets.DOCKER_USERNAME }} username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push image to Docker Hub - name: Push image to Docker Hub
run: docker push hllvc/spring-petclinic:spring-petclinic run: docker push hllvc/spring-petclinic:latest