mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
Debug
This commit is contained in:
parent
ceccfc98ef
commit
aa1d683c9c
1 changed files with 5 additions and 3 deletions
|
|
@ -16,11 +16,11 @@ inputs:
|
||||||
dnf_cache_key:
|
dnf_cache_key:
|
||||||
description: Overrides the dnf cache key
|
description: Overrides the dnf cache key
|
||||||
required: false
|
required: false
|
||||||
enable_cache_dnf:
|
enable_cache_dnf:
|
||||||
description: Whether to enable caching for dnf
|
description: Whether to enable caching for dnf
|
||||||
required: false
|
required: false
|
||||||
default: "true"
|
default: "true"
|
||||||
enable_cache_skopeo:
|
enable_cache_skopeo:
|
||||||
description: Whether to enable caching for skopeo
|
description: Whether to enable caching for skopeo
|
||||||
required: false
|
required: false
|
||||||
default: "false"
|
default: "false"
|
||||||
|
|
@ -171,6 +171,8 @@ runs:
|
||||||
ACTION_REF: ${{ github.action_ref }}
|
ACTION_REF: ${{ github.action_ref }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
|
set -x
|
||||||
|
|
||||||
image=$(echo "ghcr.io/${ACTION_REPO}" | tr [:upper:] [:lower:])
|
image=$(echo "ghcr.io/${ACTION_REPO}" | tr [:upper:] [:lower:])
|
||||||
# Check if running inside of the action repo
|
# Check if running inside of the action repo
|
||||||
if [[ -z "${ACTION_REPO}" ]]
|
if [[ -z "${ACTION_REPO}" ]]
|
||||||
|
|
@ -184,7 +186,7 @@ runs:
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
tag="${ACTION_REF}"
|
tag="${ACTION_REF}"
|
||||||
fi
|
fi
|
||||||
if [[ "${{ inputs.enable_cache_dnf }}" == "true" ]]
|
if [[ "${{ inputs.enable_cache_dnf }}" == "true" ]]
|
||||||
then
|
then
|
||||||
cache="${cache} -v /cache/dnf:/cache/dnf"
|
cache="${cache} -v /cache/dnf:/cache/dnf"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue