Skip to content

Commit

Permalink
Merge pull request #937 from Nordix/mquhuy/fix-error-on-reusable-cont…
Browse files Browse the repository at this point in the history
…ainer-image-build-wf

🐛 Fix error on reusable container image build workflow
  • Loading branch information
metal3-io-bot authored Dec 18, 2024
2 parents 4376e3e + 357900e commit 86273e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/container-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,12 @@ jobs:
id: set_ref
run: |
REF="${{ inputs.ref || github.ref }}"
echo "Using GITHUB_REF: ${REF}"
REF_NAME="${REF#refs/heads}"
REF_NAME="${REF_NAME#refs/tags}"
echo "Using INPUT REF: ${REF}"
REF_NAME="${REF#refs/heads/}"
REF_NAME="${REF_NAME#refs/tags/}"
echo "GITHUB_REF=${REF}" >> "${GITHUB_ENV}"
echo "GITHUB_REFNAME=${REF_NAME}" >> "${GITHUB_ENV}"
echo "Using GITHUB REFNAME: ${REF_NAME}"
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
Expand Down

0 comments on commit 86273e6

Please sign in to comment.