Push official images to dockerhub
This commit is contained in:
parent
b49f8304f5
commit
a51305e878
@ -4,6 +4,7 @@ build:
|
||||
variables:
|
||||
IMAGE_REPO: hamravesh/rawfile-csi
|
||||
script:
|
||||
- export REGISTRY=docker.io
|
||||
- mkdir -p ~/.docker/; echo $DOCKER_AUTH_CONFIG >~/.docker/config.json
|
||||
- export IMAGE="$REGISTRY/$IMAGE_REPO"
|
||||
- docker build -t $IMAGE:$CI_COMMIT_SHORT_SHA -t $IMAGE:$CI_COMMIT_REF_SLUG .
|
||||
|
@ -1,6 +1,6 @@
|
||||
defaults: &defaults
|
||||
image:
|
||||
repository: registry.hamdocker.ir/hamravesh/rawfile-csi
|
||||
repository: docker.io/hamravesh/rawfile-csi
|
||||
tag: master
|
||||
pullPolicy: Always
|
||||
resources:
|
||||
|
@ -17,7 +17,7 @@ spec:
|
||||
containers:
|
||||
- name: task
|
||||
# FIXME: use immutable tag
|
||||
image: registry.hamdocker.ir/hamravesh/rawfile-csi:master
|
||||
image: docker.io/hamravesh/rawfile-csi:master
|
||||
# FIXME: change to IfNotPresent
|
||||
imagePullPolicy: Always
|
||||
volumeMounts:
|
||||
|
Loading…
Reference in New Issue
Block a user