feat(ci): add latest tag
This commit is contained in:
parent
5cf894031c
commit
7999464384
@ -17,12 +17,6 @@ cache:
|
|||||||
- qa/ui/node_modules/
|
- qa/ui/node_modules/
|
||||||
- frontend/ui/node_modules/
|
- frontend/ui/node_modules/
|
||||||
|
|
||||||
variables:
|
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
|
|
||||||
DOCKER_TLS_CERTDIR: ""
|
|
||||||
DOCKER_DRIVER: overlay2
|
|
||||||
DOCKER_HOST: tcp://dockerdaemon:2375/
|
|
||||||
|
|
||||||
.build-amd64: &build-amd64
|
.build-amd64: &build-amd64
|
||||||
stage: build
|
stage: build
|
||||||
image: golang:alpine3.18
|
image: golang:alpine3.18
|
||||||
@ -45,7 +39,8 @@ variables:
|
|||||||
/kaniko/executor \
|
/kaniko/executor \
|
||||||
--context . \
|
--context . \
|
||||||
--dockerfile "${DOCKERFILE}" \
|
--dockerfile "${DOCKERFILE}" \
|
||||||
--destination "${CI_REGISTRY_IMAGE}/${CI_JOB_NAME}/${CI_COMMIT_REF_SLUG}:${CI_COMMIT_SHA}"
|
--destination "${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_SLUG}/${CI_JOB_NAME}:${CI_COMMIT_SHA}" \
|
||||||
|
--destination "${CI_REGISTRY_IMAGE}/${CI_COMMIT_REF_SLUG}/${CI_JOB_NAME}:latest"
|
||||||
|
|
||||||
get-deps:
|
get-deps:
|
||||||
stage: deps
|
stage: deps
|
||||||
|
Loading…
Reference in New Issue
Block a user