Skip to content
Snippets Groups Projects
Commit a72bb8fb authored by nimrod's avatar nimrod
Browse files

Personal registry.

Build and push the personal registry. Use the full address for the
Docker Hub registry as opposed to the personal registry.
parent ceb5c61d
No related branches found
No related tags found
No related merge requests found
Pipeline #636 failed
...@@ -4,3 +4,21 @@ include: ...@@ -4,3 +4,21 @@ include:
file: templates/pre-commit.yml file: templates/pre-commit.yml
- project: shore/ci-templates - project: shore/ci-templates
file: templates/pre-commit-repo.yml file: templates/pre-commit-repo.yml
- project: shore/ci-templates
file: templates/docker.yml
stages:
- test
- build
- deploy
variables:
IMAGES: docker-pre-commit
build:
extends: .docker-build-shore
tags: [ns4.shore.co.il]
push:
extends: .docker-push-shore
tags: [ns4.shore.co.il]
...@@ -5,20 +5,21 @@ ...@@ -5,20 +5,21 @@
description: Dockerfile linter, validate inline bash, written in Haskell description: Dockerfile linter, validate inline bash, written in Haskell
minimum_pre_commit_version: '0.18.0' minimum_pre_commit_version: '0.18.0'
language: docker_image language: docker_image
entry: adarnimrod/docker-pre-commit hadolint entry: registry.hub.docker.com/adarnimrod/docker-pre-commit hadolint
types: [dockerfile] types: [dockerfile]
- id: dockerfile-lint - id: dockerfile-lint
name: dockerfile-lint name: dockerfile-lint
description: A rule based 'linter' for Dockerfiles description: A rule based 'linter' for Dockerfiles
minimum_pre_commit_version: '0.18.0' minimum_pre_commit_version: '0.18.0'
language: docker_image language: docker_image
entry: adarnimrod/docker-pre-commit dockerfile-lint entry: registry.hub.docker.com/adarnimrod/docker-pre-commit dockerfile-lint
types: [dockerfile] types: [dockerfile]
- id: docker-compose - id: docker-compose
name: docker-compose config name: docker-compose config
description: Validate the Docker Compose file using docker-compose config description: Validate the Docker Compose file using docker-compose config
minimum_pre_commit_version: '0.18.0' minimum_pre_commit_version: '0.18.0'
language: docker_image language: docker_image
entry: adarnimrod/docker-pre-commit docker-compose-config entry: |-
registry.hub.docker.com/adarnimrod/docker-pre-commit docker-compose-config
files: docker-compose files: docker-compose
types: [yaml] types: [yaml]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment