Skip to content

Commit

Permalink
Add job_id
Browse files Browse the repository at this point in the history
  • Loading branch information
alikhil committed Dec 6, 2024
1 parent 348289e commit 28b972d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 28b972d

Please sign in to comment.