Skip to content
Snippets Groups Projects
Verified Commit b06d377d authored by Tomas Sapak's avatar Tomas Sapak
Browse files

Initial commit

parents
No related branches found
No related tags found
No related merge requests found
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master
from alpine
MAINTAINER Tomas Sapak <sapakt@ics.muni.cz>
LABEL Description="ansible-lint"
RUN apk add --update py-pip gcc python2-dev musl-dev libffi-dev openssl-dev make \
&& pip install ansible-lint
Docker image with ansible-lint
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment