mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
Merge branch 'main' into add_secure_boot
This commit is contained in:
commit
71ce08cc52
10 changed files with 745 additions and 531 deletions
11
action.yml
11
action.yml
|
|
@ -136,14 +136,13 @@ runs:
|
|||
ACTION_REF: ${{ github.action_ref }}
|
||||
shell: bash
|
||||
run: |
|
||||
image="ghcr.io/jasonn3/build-container-installer"
|
||||
# Check if running inside of the action repo
|
||||
if [[ -z "${ACTION_REPO}" || "${ACTION_REPO}" == "${{ github.repository }}" ]]
|
||||
image=$(echo "ghcr.io/${{ github.repository }}" | tr [:upper:] [:lower:])
|
||||
# Check if running inside01 of the action repo
|
||||
if [[ -z "${ACTION_REPO}" ]]
|
||||
then
|
||||
if [[ "${{ github.ref_name }}" =~ (.*)/merge ]]
|
||||
if [[ -n "${{ github.event.issue.number }}" ]]
|
||||
then
|
||||
tag="pr-${BASH_REMATCH[1]}"
|
||||
image="docker.io/jasonn3/build-container-installer"
|
||||
tag="pr-${{ github.event.issue.number }}"
|
||||
else
|
||||
tag="${{ github.ref_name }}"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue