From 00f7aac8abd1bbefb014d726c43c96f07dd0fb28 Mon Sep 17 00:00:00 2001 From: Andreas Rocznik Date: Fri, 17 Jul 2026 14:23:34 +0300 Subject: [PATCH] Lint (#49) Reviewed-on: https://gitea.phadric.de/public/docker-build-action/pulls/49 --- .github/workflows/docker-build.yml | 3 --- .github/workflows/lint.yml | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index a6ca948..14efb6c 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,17 +1,14 @@ name: 'Tag Build and Push Docker image' -description: 'Tags version in current repo, builds docker image and pushes it to registry' on: workflow_call: inputs: registry: # id of input description: 'docker regisry host name' - required: true type: string default: 'gitea.phadric.de' cache-registry: # id of input description: 'docker regisry host name' - required: true default: 'imagecache.phadric.de' type: string image_name: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 4c4f0cf..e962131 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,6 +20,8 @@ jobs: uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Verify Action run: actionlint -ignore 'unexpected key "description" for "workflow" section' -ignore 'nexpected key "inputs" for "workflow" section.' -ignore 'unexpected key "runs" for "workflow" section.' -ignore '"on" section is missing in workflow' -ignore '"jobs" section is missing in workflow' action.yml + - name: Verify Workflow + run: actionlint -ignore 'label "slim" is unknown' .github/workflows/docker-build.yml - name: tag latest after success if: github.ref == 'refs/heads/main' id: tag