Initial commit

This commit is contained in:
Cabillot Julien 2018-10-05 16:18:58 -04:00
commit 83ec820bf5
2 changed files with 31 additions and 0 deletions

25
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,25 @@
image: docker:latest
services:
- docker:dind
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
build-master:
stage: build
tags: arm64
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker push "$CI_REGISTRY_IMAGE"
only:
- master
build:
stage: build
tags: arm64
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
except:
- master

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM "alpine:latest"
LABEL maintainer="Julien Cabillot <dockerimages@cabillot.eu>"
RUN apk add --no-cache unrar
CMD [ "/usr/bin/unrar" ]