From f8643ac173dc65721ebd544c8a4a730edd16c70c Mon Sep 17 00:00:00 2001 From: Andreas Rocznik Date: Mon, 25 Aug 2025 17:40:48 +0300 Subject: [PATCH] Update action.yml --- action.yml | 47 ++++++++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 21 deletions(-) diff --git a/action.yml b/action.yml index c07177a..dea944b 100644 --- a/action.yml +++ b/action.yml @@ -1,25 +1,30 @@ -name: 'Tag Build and Push Docker image' -description: 'Tags verion in current repo, builds docker image and pushes it to registry' -inputs: - registry: # id of input - description: 'docker regisry host name' - required: true - default: 'gitea.phadric.de' - cache-registry: # id of input - description: 'docker regisry host name' - required: true - default: 'imagecache.phadric.de' - image_name: - description: 'name of the dockerimage' - required: true - default: ${{ github.repository }} - token: - description: 'repo auth token' - required: true -runs: - using: "composite" - steps: +name: Docker Build + +on: + workflow_call: + inputs: + registry: # id of input + description: 'docker regisry host name' + required: true + default: 'gitea.phadric.de' + cache-registry: # id of input + description: 'docker regisry host name' + required: true + default: 'imagecache.phadric.de' + image_name: + description: 'name of the dockerimage' + required: true + default: ${{ github.repository }} + token: + description: 'repo auth token' + required: true + + +jobs: + build: + runs-on: slim + steps: - run: echo "::group::Checkout repository" if: ${{ always() }} - name: Checkout repository