Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify Dockerfile in github actions with hadolint prior to Docker Push #21

Closed
tillkuhn opened this issue Dec 24, 2020 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@tillkuhn
Copy link
Owner

github.com/hadolint/hadolint
Maybe use existing marketplace action, or do it yourself e.g.

$curl -sS -L https://github.com/hadolint/hadolint/releases/download/v1.19.0/hadolint-Linux-x86_64 \
--output /tmp/hadolint && chmod u+x /tmp/hadolint

$ /tmp/hadolint Dockerfile && echo "Dockerfile OK"
Dockerfile:27 DL3025 Use arguments JSON notation for CMD and ENTRYPOINT arguments

Sample output:

Dockerfile:27 DL3025 Use arguments JSON notation for CMD and ENTRYPOINT arguments
@tillkuhn tillkuhn added the enhancement New feature or request label Dec 24, 2020
@tillkuhn tillkuhn self-assigned this Dec 24, 2020
@tillkuhn tillkuhn added this to 😴 To do / Auf Halde in TiMaFe on Air via automation Dec 24, 2020
@tillkuhn tillkuhn added the ci/cd label Dec 24, 2020
@tillkuhn tillkuhn moved this from 😴 To do / Auf Halde to 🕰️ In progress / in Bälde in TiMaFe on Air Dec 29, 2020
TiMaFe on Air automation moved this from 🕰️ In progress / in Bälde to 🚚 Done / DoD: Ausgerollt Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
TiMaFe on Air
🚚 Done / DoD: Ausgerollt
Development

No branches or pull requests

1 participant