mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-17 04:55:50 +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
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- name: Build & Push
|
- name: Build & Push
|
||||||
run: |
|
run: |
|
||||||
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)
|
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-7)
|
||||||
|
@ -86,7 +86,7 @@ jobs:
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_TOKEN }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
- name: Build & Push
|
- name: Build & Push
|
||||||
run: |
|
run: |
|
||||||
docker build -t ${{ secrets.DOCKER_USERNAME }}/main:latest .
|
docker build -t ${{ secrets.DOCKER_USERNAME }}/main:latest .
|
||||||
|
|
Loading…
Reference in a new issue