-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
actionlint does static analysis of GitHub Action workflow files. By having our own image we can be sure the binary doesn't get changed out from under us.
- Loading branch information
1 parent
5feb1f7
commit 9176808
Showing
5 changed files
with
61 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
FROM alpine:3.18 | ||
|
||
RUN apk add --update --no-cache \ | ||
bash \ | ||
py3-pyflakes \ | ||
shellcheck | ||
|
||
RUN cd /tmp && \ | ||
wget https://github.com/rhysd/actionlint/releases/download/v1.6.25/actionlint_1.6.25_linux_386.tar.gz && \ | ||
tar xf actionlint_1.6.25_linux_386.tar.gz && \ | ||
cp actionlint /usr/bin/ && \ | ||
chmod a+x /usr/bin/actionlint && \ | ||
rm -rf /tmp/* | ||
|
||
ENTRYPOINT ["/usr/bin/actionlint"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o nounset | ||
|
||
# | ||
# *** You should already be logged in to DockerHub when you run this *** | ||
# | ||
|
||
NAME="ponylang/shared-docker-ci-actionlint" | ||
TODAY=$(date +%Y%m%d) | ||
DOCKERFILE_DIR="$(dirname "$0")" | ||
|
||
docker build --pull -t "${NAME}:${TODAY}" "${DOCKERFILE_DIR}" | ||
docker push "${NAME}:${TODAY}" |