Rename image

This commit is contained in:
Fedor Korotkiy 2023-02-11 22:48:52 +04:00
parent 56cf82febe
commit 137925c17c
3 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,5 @@
grade: grade:
image: eu.gcr.io/shad-ts/grader/go image: cr.yandex/crp9onavos88ug32d5r2/grader/go
variables: variables:
DOCKER_HOST: tcp://docker:2375/ DOCKER_HOST: tcp://docker:2375/
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""

View file

@ -1,5 +1,5 @@
check: check:
image: eu.gcr.io/shad-ts/grader/go-build image: cr.yandex/crp9onavos88ug32d5r2/grader/go-build
variables: variables:
DOCKER_HOST: tcp://docker:2375/ DOCKER_HOST: tcp://docker:2375/
DOCKER_TLS_CERTDIR: "" DOCKER_TLS_CERTDIR: ""
@ -19,8 +19,8 @@ rebuild-base-image:
- docker - docker
when: manual when: manual
script: script:
- docker build -f build.docker -t eu.gcr.io/shad-ts/grader/go-build . - docker build -f build.docker -t cr.yandex/crp9onavos88ug32d5r2/grader/go-build .
- docker push eu.gcr.io/shad-ts/grader/go-build:latest - docker push cr.yandex/crp9onavos88ug32d5r2/grader/go-build:latest
deploy: deploy:
only: only:
@ -28,9 +28,9 @@ deploy:
tags: tags:
- docker - docker
script: script:
- docker pull eu.gcr.io/shad-ts/grader/go-build:latest - docker pull cr.yandex/crp9onavos88ug32d5r2/grader/go-build:latest
- docker build -f testenv.docker -t eu.gcr.io/shad-ts/grader/go . - docker build -f testenv.docker -t cr.yandex/crp9onavos88ug32d5r2/grader/go .
- docker push eu.gcr.io/shad-ts/grader/go:latest - docker push cr.yandex/crp9onavos88ug32d5r2/grader/go:latest
build-slides: build-slides:
only: only:
@ -38,12 +38,12 @@ build-slides:
tags: tags:
- docker - docker
script: script:
- docker build lectures -t eu.gcr.io/shad-ts/go-lectures - docker build lectures -t cr.yandex/crp9onavos88ug32d5r2/go-lectures
- docker push eu.gcr.io/shad-ts/go-lectures - docker push cr.yandex/crp9onavos88ug32d5r2/go-lectures
push-to-public: push-to-public:
# stage: .post # stage: .post
image: eu.gcr.io/shad-ts/grader/go image: cr.yandex/crp9onavos88ug32d5r2/grader/go
only: only:
- master - master
when: manual when: manual
@ -67,5 +67,5 @@ deploy-slides:
script: script:
- docker stop -t0 go-lectures || true - docker stop -t0 go-lectures || true
- docker rm go-lectures || true - docker rm go-lectures || true
- docker pull eu.gcr.io/shad-ts/go-lectures - docker pull cr.yandex/crp9onavos88ug32d5r2/go-lectures
- docker run -p 3999:3999 -d --name go-lectures --restart=always eu.gcr.io/shad-ts/go-lectures - docker run -p 3999:3999 -d --name go-lectures --restart=always cr.yandex/crp9onavos88ug32d5r2/go-lectures

View file

@ -1,4 +1,4 @@
FROM eu.gcr.io/shad-ts/grader/go-build:latest FROM cr.yandex/crp9onavos88ug32d5r2/grader/go-build:latest
COPY . /opt/shad COPY . /opt/shad