This commit is contained in:
@@ -21,6 +21,14 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
# Gitea Actions automatically provides a token that can push to its own registry
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.CONTAINER_REGISTRY_GITEA_USERNAME }}
|
||||
password: ${{ secrets.CONTAINER_REGISTRY_GITEA_PASSWORD }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
@@ -30,7 +38,3 @@ jobs:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
|
||||
registry:
|
||||
url: ${{ env.REGISTRY }}
|
||||
username: ${{ secrets.CONTAINER_REGISTRY_GITEA_USERNAME }}
|
||||
password: ${{ secrets.CONTAINER_REGISTRY_GITEA_PASSWORD }}
|
||||
|
||||
Reference in New Issue
Block a user