This commit is contained in:
parent
b2b3ebb690
commit
ed35ab439c
@ -6,7 +6,6 @@ on:
|
|||||||
env:
|
env:
|
||||||
# https://github.com/hadolint/hadolint/releases
|
# https://github.com/hadolint/hadolint/releases
|
||||||
HADOLINT_VERSION: "2.12.0"
|
HADOLINT_VERSION: "2.12.0"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
@ -21,8 +20,8 @@ jobs:
|
|||||||
--file Dockerfile \
|
--file Dockerfile \
|
||||||
--build-arg HADOLINT_VERSION=$HADOLINT_VERSION \
|
--build-arg HADOLINT_VERSION=$HADOLINT_VERSION \
|
||||||
--tag gitea.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION \
|
--tag gitea.sikorski.cloud/rogersik/hadolint:$HADOLINT_VERSION \
|
||||||
--tag gitea.sikorski.cloud/rogersik/hadolint:"2" \
|
--tag gitea.sikorski.cloud/rogersik/hadolint:${HADOLINT_VERSION%.*.*} \
|
||||||
--tag gitea.sikorski.cloud/rogersik/hadolint:"2.12" \
|
--tag gitea.sikorski.cloud/rogersik/hadolint:"${HADOLINT_VERSION%.*}" \
|
||||||
--tag gitea.sikorski.cloud/rogersik/hadolint:latest
|
--tag gitea.sikorski.cloud/rogersik/hadolint:latest
|
||||||
- name: Push docker image
|
- name: Push docker image
|
||||||
run: docker push gitea.sikorski.cloud/rogersik/hadolint --all-tags
|
run: docker push gitea.sikorski.cloud/rogersik/hadolint --all-tags
|
Reference in New Issue
Block a user