add copy on local registry, bump version to 0.4
This commit is contained in:
parent
e151003032
commit
d28cc59cc9
@ -4,7 +4,7 @@ stages:
|
||||
- build
|
||||
|
||||
variables:
|
||||
IMAGE_NAME: $MY_REGISTRY/docker-bash
|
||||
IMAGE_NAME: registry.hottis.de/dockerized/docker-bash
|
||||
HUB_IMAGE_NAME: wollud1969/docker-bash
|
||||
|
||||
build:
|
||||
@ -16,6 +16,9 @@ build:
|
||||
script:
|
||||
- VERSION=`cat VERSION`
|
||||
- docker build --tag $IMAGE_NAME:latest --tag $IMAGE_NAME:$VERSION --tag $HUB_IMAGE_NAME:$VERSION --tag $HUB_IMAGE_NAME:latest .
|
||||
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
|
||||
- docker push $IMAGE_NAME:latest
|
||||
- docker push $IMAGE_NAME:$VERSION
|
||||
- docker login -u $DOCKER_HUB_LOGIN -p $DOCKER_HUB_PASSWORD
|
||||
- docker push $HUB_IMAGE_NAME:latest
|
||||
- docker push $HUB_IMAGE_NAME:$VERSION
|
||||
|
@ -1,7 +1,7 @@
|
||||
FROM docker:stable
|
||||
|
||||
LABEL Maintainer="Wolfgang Hottgenroth <wolfgang.hottgenroth@icloud.com>"
|
||||
# LABEL ImageName="registry.hottis.de/docker-bash"
|
||||
LABEL ImageName="registry.hottis.de/dockerized/docker-bash"
|
||||
LABEL AlternativeImageName="wollud1969/docker-bash"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user