mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 15:25:49 +00:00
Update docker-image.yml
This commit is contained in:
parent
b0be74d3ca
commit
f8ea5fc592
1 changed files with 8 additions and 0 deletions
8
.github/workflows/docker-image.yml
vendored
8
.github/workflows/docker-image.yml
vendored
|
@ -60,6 +60,14 @@ jobs:
|
||||||
id: login-ecr
|
id: login-ecr
|
||||||
uses: aws-actions/amazon-ecr-login@v1
|
uses: aws-actions/amazon-ecr-login@v1
|
||||||
|
|
||||||
|
#login to github container registry
|
||||||
|
- name: Docker Login
|
||||||
|
uses: docker/login-action@v3.1.0
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ github.actor }}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
#image setup
|
#image setup
|
||||||
- name: Pull Docker image from GHCR
|
- name: Pull Docker image from GHCR
|
||||||
run: docker pull ghcr.io/${{ github.repository }}/${{ needs.docker-build.outputs.docker_tag }}
|
run: docker pull ghcr.io/${{ github.repository }}/${{ needs.docker-build.outputs.docker_tag }}
|
||||||
|
|
Loading…
Reference in a new issue