From edaf384a7f605b101bbd6a07157b040d1510147c Mon Sep 17 00:00:00 2001 From: Martin Dimitrov Date: Fri, 6 Mar 2026 13:39:53 -0800 Subject: [PATCH] allow insecure registry --- .gitea/actions/docker-build-push/action.yaml | 10 +++++++++- .gitea/workflows/docker-publish-private.yaml | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/actions/docker-build-push/action.yaml b/.gitea/actions/docker-build-push/action.yaml index 290790f..3222055 100644 --- a/.gitea/actions/docker-build-push/action.yaml +++ b/.gitea/actions/docker-build-push/action.yaml @@ -17,6 +17,13 @@ inputs: description: 'Build context path' required: false default: '.' + push: + description: 'Whether to push the image' + required: false + default: 'true' + outputs: + description: 'Custom outputs configuration' + required: false runs: using: "composite" @@ -41,6 +48,7 @@ runs: context: ${{ inputs.context }} file: ${{ inputs.file }} platforms: ${{ inputs.platforms }} - push: true + push: ${{ inputs.outputs == '' && inputs.push == 'true' || false }} tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + outputs: ${{ inputs.outputs }} diff --git a/.gitea/workflows/docker-publish-private.yaml b/.gitea/workflows/docker-publish-private.yaml index d6806e8..97800ae 100644 --- a/.gitea/workflows/docker-publish-private.yaml +++ b/.gitea/workflows/docker-publish-private.yaml @@ -45,3 +45,4 @@ jobs: file: ${{ inputs.file }} platforms: ${{ inputs.platforms }} context: . + outputs: type=image,registry.insecure=true,push=true