Skip to content
Commits on Source (4)
......@@ -14,7 +14,7 @@ include:
- docker:amd64
- docker:arm64
stages: [build, test, release]
stages: [test, deploy, release]
test:amd64:
stage: test
......
# hadolint ignore=DL3007
FROM alpine:latest
# Test Image
\ No newline at end of file
......@@ -4,7 +4,7 @@ spec:
stage:
type: string
description: "Build stage"
default: build
default: deploy
dockerfile:
type: string
description: "Dockerfile name"
......@@ -83,6 +83,14 @@ include:
- local: /default.yml
- local: /vars.yml
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
before_script:
- hadolint --version
script:
- hadolint --ignore DL3059 --ignore DL3006 --ignore DL3018 $[[ inputs.dockerfile ]]
docker:$[[ inputs.name ]]:
tags: $[[ inputs.runner ]]
stage: $[[ inputs.stage ]]
......
......@@ -4,7 +4,7 @@ spec:
stage:
type: string
description: "Build stage"
default: build
default: deploy
dockerfile:
type: string
description: "Dockerfile name"
......@@ -83,6 +83,14 @@ include:
- local: /default.yml
- local: /vars.yml
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
before_script:
- hadolint --version
script:
- hadolint --ignore DL3059 --ignore DL3006 --ignore DL3018 $[[ inputs.dockerfile ]]
docker:$[[ inputs.name ]]:
tags: $[[ inputs.runner ]]
stage: $[[ inputs.stage ]]
......
......@@ -4,7 +4,7 @@ spec:
stage:
type: string
description: "Build stage"
default: build
default: deploy
dockerfile:
type: string
description: "Dockerfile name"
......@@ -83,6 +83,14 @@ include:
- local: /default.yml
- local: /vars.yml
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
before_script:
- hadolint --version
script:
- hadolint --ignore DL3059 --ignore DL3006 --ignore DL3018 $[[ inputs.dockerfile ]]
docker:$[[ inputs.name ]]:
tags: $[[ inputs.runner ]]
stage: $[[ inputs.stage ]]
......
......@@ -4,7 +4,7 @@ spec:
stage:
type: string
description: "Build stage"
default: build
default: deploy
dockerfile:
type: string
description: "Dockerfile name"
......@@ -87,6 +87,14 @@ include:
- local: /default.yml
- local: /vars.yml
check:$[[ inputs.name ]]:
stage: test
image: harbor.local/docker.io/hadolint/hadolint:latest-alpine
before_script:
- hadolint --version
script:
- hadolint --ignore DL3059 --ignore DL3006 --ignore DL3018 $[[ inputs.dockerfile ]]
docker:$[[ inputs.name ]]:
tags: $[[ inputs.runner ]]
stage: $[[ inputs.stage ]]
......