Update docker-build.yaml
This commit is contained in:
committed by
GitHub
parent
c7b02dbe28
commit
841020b595
@@ -25,6 +25,13 @@ jobs:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Log in to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Build and Push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
@@ -34,3 +41,5 @@ jobs:
|
||||
tags: |
|
||||
christianlouis/document-processor:latest
|
||||
christianlouis/document-processor:${{ github.sha }}
|
||||
ghcr.io/${{ github.repository_owner }}/document-processor:latest
|
||||
ghcr.io/${{ github.repository_owner }}/document-processor:${{ github.sha }}
|
||||
|
||||
Reference in New Issue
Block a user