fredbcode-images-squid/.gitlab-ci.yml
Fred 6da3c49222 Update 2 files
- /gitlabci/docker-hub.yml
- /.gitlab-ci.yml
2024-08-01 12:27:21 +00:00

42 lines
870 B
YAML

workflow:
rules:
- if: $CI_COMMIT_BRANCH
workflow:
name: "$CI_COMMIT_TITLE: Squid auto rebuild docker from http://www.squid-cache.org/Versions images https://hub.docker.com/r/fredbcode"
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
# Build on tmpfs
variables:
GIT_CLONE_PATH: $CI_BUILDS_DIR/tmpfs/$CI_PROJECT_NAME/$CI_COMMIT_BRANCH
stages:
- quality
- Docker-hub-build
- Docker-hub-test
- Docker-hub-pushtag
# ARM
- Docker-hub-build-arm
- Docker-hub-test-arm
- Docker-hub-pushtag-arm
- test
include:
- template: Security/SAST.gitlab-ci.yml
include:
- 'gitlabci/docker-hub.yml'
- 'gitlabci/docker-hub-arm.yml'
- template: Security/SAST-IaC.latest.gitlab-ci.yml
hadolint:
image: hadolint/hadolint:latest-debian
stage: quality
before_script:
- cd $CI_PROJECT_DIR
script:
- hadolint --ignore DL3008 Dockerfile