Skip to content

Commit 2324b2c

Browse files
committed
ci(bump): override entry point
1 parent 753046d commit 2324b2c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/dnf-check-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Check the versions
1515
shell: bash
1616
run: |
17-
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" sh -c '
17+
docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" /bin/sh -c '
1818
if dnf upgrade -y | tee -a /dev/stderr | grep -q -v -e '"'"'^Nothing to do.'"'"' ; then
1919
exit 1
2020
fi

.github/workflows/pip-check-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Check the versions
1515
shell: bash
1616
run: |
17-
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" sh -c '
17+
docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" /bin/sh -c '
1818
# FIXME @TL workaround until Amazon Linux gets a pipx package
1919
if pip3 list --outdated | tee -a /dev/stderr | grep -q -e '"'"'^pipx '"'"' ; then
2020
exit 1

.github/workflows/pipx-check-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- name: Check the versions
1515
shell: bash
1616
run: |
17-
docker run --pull always -t --user root "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" sh -c '
17+
docker run --pull always -t --user root --entrypoint /bin/sh "leplusorg/${GITHUB_REPOSITORY#*/docker-}:main" /bin/sh -c '
1818
if pipx upgrade-all --global | tee -a /dev/stderr | grep -q -e . ; then
1919
exit 1
2020
fi

aws-cli/bump-apk-versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if [ -f /.dockerenv ]; then
3131

3232
else
3333

34-
\docker run --pull always --rm -t --user root -v "$(pwd):/opt/bump" "leplusorg/${PWD##*/}:main" /opt/bump/"$(\basename "${0}")"
34+
\docker run --pull always --rm -t --user root -v "$(pwd):/opt/bump" --entrypoint /opt/bump/"$(\basename "${0}")" "leplusorg/${PWD##*/}:main"
3535

3636
./create-bump-prs.sh
3737

0 commit comments

Comments
 (0)