mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 02:47:56 +01:00
consistent var names and refresh repos
This commit is contained in:
parent
1a9354f9bd
commit
a38f8a8d56
2 changed files with 4 additions and 2 deletions
|
|
@ -178,9 +178,9 @@ runs:
|
|||
vars="${vars} FLATPAK_REMOTE_REFS_DIR=\"${{ inputs.flatpak_remote_refs_dir }}\""
|
||||
fi
|
||||
fi
|
||||
if [[ -n "${{ inputs.secrets }}" ]]
|
||||
if [[ -n "${{ inputs.secrets_dir }}" ]]
|
||||
then
|
||||
volumes="--volume ${{ inputs.secrets }}:/run/secrets"
|
||||
volumes="--volume ${{ inputs.secrets_dir }}:/run/secrets"
|
||||
fi
|
||||
docker run --privileged ${volumes} --volume ${{ github.workspace }}:/github/workspace/ ${cache} ${image}:${tag} \
|
||||
ADDITIONAL_TEMPLATES="${{ inputs.additional_templates }}" \
|
||||
|
|
|
|||
|
|
@ -5,6 +5,8 @@ set -ex
|
|||
# Create /dev/loop0 if it doesn't already exist. `losetup` has an issue creating it during the first run
|
||||
mknod -m 0660 /dev/loop0 b 7 0 2>/dev/null || true
|
||||
|
||||
subscription-manager refresh || true
|
||||
|
||||
for i
|
||||
do
|
||||
key=$(echo ${i} | cut -d= -f1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue