Update workflow to support insecure HTTP registry
Build and Publish Docker Image / build-and-push-image (push) Has been cancelled
Build and Publish Docker Image / build-and-push-image (push) Has been cancelled
This commit is contained in:
@@ -21,8 +21,14 @@ jobs:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
with:
|
||||
# Autorise explicitement les connexions HTTP vers votre registre Gitea
|
||||
buildkitd-flags: --allow-insecure-entitlement ${{ env.REGISTRY }}
|
||||
|
||||
- name: Log in to the Container registry
|
||||
uses: docker/login-action@v3
|
||||
@@ -49,3 +55,4 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
outputs: type=image,name=${{ env.REGISTRY }}/${{ env.IMAGE_NAME }},push=true,registry.insecure=true
|
||||
|
||||
Reference in New Issue
Block a user