Update aws.yml

This commit is contained in:
darefjev44 2024-04-20 14:18:58 +01:00 committed by GitHub
parent d0efa2ffa3
commit acfeb741bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,6 +23,13 @@ jobs:
id: login-ecr id: login-ecr
uses: aws-actions/amazon-ecr-login@v1 uses: aws-actions/amazon-ecr-login@v1
- name: Docker Login
uses: docker/login-action@v3.1.0
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull image from GHCR - name: Pull image from GHCR
run: docker pull ghcr.io/${{ github.repository }}/spring-petclinic:latest run: docker pull ghcr.io/${{ github.repository }}/spring-petclinic:latest