Update .forgejo/workflows/docker-build.yml
This commit is contained in:
@@ -34,6 +34,13 @@ jobs:
|
||||
env:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
steps:
|
||||
- name: Login to the registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.PACKAGE_TOKEN }}
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- name: Install Docker
|
||||
run: |
|
||||
@@ -59,3 +66,5 @@ jobs:
|
||||
push: true
|
||||
provenance: false
|
||||
tags: ${{ env.FORGEJO_HOST }}/${{ github.actor }}/${{ env.CONTAINER_NAME }}:latest
|
||||
run: |
|
||||
docker build -t ${{ env.CONTAINER_NAME }} .
|
||||
Reference in New Issue
Block a user