From 28b972d3beeb717081a49b3dd66f6b8afc093b27 Mon Sep 17 00:00:00 2001 From: Alik Khilazhev Date: Fri, 6 Dec 2024 18:36:27 +0100 Subject: [PATCH] Add job_id --- .github/workflows/mirror.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 96a8ce0..3619774 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -6,11 +6,21 @@ on: image_name: description: 'Docker image name (e.g., myorg/myimage:tag)' required: true + id: + description: 'Job id to identify workflow' # https://stackoverflow.com/a/69500478/3443964 + required: false env: REGISTRY: ghcr.io jobs: + id: + name: Workflow ID Provider + runs-on: ubuntu-latest + steps: + - name: ${{github.event.inputs.id}} + run: echo run identifier ${{ inputs.id }} + publish-to-ghcr: runs-on: ubuntu-latest permissions: