Skip to content

Commit

Permalink
consistent var names and refresh repos
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonN3 committed Mar 20, 2024
1 parent 1a9354f commit a38f8a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}" \
Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a38f8a8

Please sign in to comment.