We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 290b864 commit ad3a5f0Copy full SHA for ad3a5f0
.gitlab-ci.yml
@@ -0,0 +1,15 @@
1
+variables:
2
+ PUBLIC_TAG: 'vulnerables/cve-2014-6271'
3
+stages:
4
+ - build
5
+
6
+build:
7
+ stage: build
8
+ script:
9
+ - export IMAGE_TAG=$(echo -en $CI_BUILD_REF_NAME | tr -c '[:alnum:]_.-' '-' | sed 's/master/latest/g')
10
+ - docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY
11
+ - docker build --pull -t "$CI_REGISTRY_IMAGE:$IMAGE_TAG" .
12
+ - docker push "$CI_REGISTRY_IMAGE:$IMAGE_TAG"
13
+ - docker tag "$CI_REGISTRY_IMAGE:$IMAGE_TAG" "$PUBLIC_TAG"
14
+ tags:
15
+ - docker
Dockerfile
@@ -1,6 +1,6 @@
FROM debian:wheezy
-MAINTAINER opsxcq <opsxcq@thestorm.com.br>
+LABEL maintainer "opsxcq@strm.sh"
RUN apt-get update && \
apt-get upgrade -y && \
0 commit comments