diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 79417df..cbfdc62 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 . diff --git a/deploy/charts/rawfile-csi/values.yaml b/deploy/charts/rawfile-csi/values.yaml index 7747d26..75a57fd 100644 --- a/deploy/charts/rawfile-csi/values.yaml +++ b/deploy/charts/rawfile-csi/values.yaml @@ -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: diff --git a/templates/task.yaml b/templates/task.yaml index 99ee24d..f6b5b27 100644 --- a/templates/task.yaml +++ b/templates/task.yaml @@ -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: