This commit is contained in:
@@ -30,14 +30,14 @@ jobs:
|
||||
- name: Log in to Gitea Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
registry: ${{ github.server_url }}
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Tag and Push Docker Image
|
||||
run: |
|
||||
VERSION=${{ github.run_number }}
|
||||
TARGET_IMAGE=${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||
TARGET_IMAGE=${{ github.server_url }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||
|
||||
# Auto-detect the built image name
|
||||
SOURCE_IMAGE=$(docker images --format "{{.Repository}}:{{.Tag}}" | head -n 1)
|
||||
|
||||
Reference in New Issue
Block a user