docker build arg added
All checks were successful
/ build (push) Successful in 5s

This commit is contained in:
Roger Sikorski 2023-07-26 07:44:37 +02:00
parent 9f0db532bb
commit 6c63324f8a
Signed by: RogerSik
GPG Key ID: 207958C85208EAC4

View File

@ -19,9 +19,10 @@ jobs:
docker build . \
--cache-from registry.sikorski.cloud/rogersik/hadolint:latest \
--file Dockerfile \
--tag registry.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION
--tag registry.sikorski.cloud/rogersik/hadolint:"2"
--tag registry.sikorski.cloud/rogersik/hadolint:"2.12"
--build-arg HADOLINT_VERSION=$HADOLINT_VERSION \
--tag registry.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION \
--tag registry.sikorski.cloud/rogersik/hadolint:"2" \
--tag registry.sikorski.cloud/rogersik/hadolint:"2.12" \
--tag registry.sikorski.cloud/rogersik/hadolint:latest
- name: Push docker image
run: docker push registry.sikorski.cloud/rogersik/hadolint --all-tags