mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-16 04:45:49 +00:00
Rectified Pipeline
This commit is contained in:
parent
9823bf34e4
commit
f4dcd30f7a
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci-cd.yaml
vendored
4
.github/workflows/ci-cd.yaml
vendored
|
@ -67,7 +67,7 @@ jobs:
|
|||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build & Push
|
||||
run: |
|
||||
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)
|
||||
|
@ -86,7 +86,7 @@ jobs:
|
|||
uses: docker/login-action@v3
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
- name: Build & Push
|
||||
run: |
|
||||
docker build -t ${{ secrets.DOCKER_USERNAME }}/main:latest .
|
||||
|
|
Loading…
Reference in a new issue