Init
This commit is contained in:
commit
f90fdc0598
99 changed files with 15260 additions and 0 deletions
24
.gitlab/build.gitlab-ci.yml
Normal file
24
.gitlab/build.gitlab-ci.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
build_release:
|
||||
rules: !reference [.rules:release, rules]
|
||||
stage: build
|
||||
extends: .login_registry
|
||||
services:
|
||||
- name: docker:$DOCKER_VERSION-dind
|
||||
alias: docker
|
||||
variables:
|
||||
DOCKER_TLS_CERTDIR: '/certs'
|
||||
CURRENT_IMAGE: '$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG'
|
||||
script:
|
||||
- >
|
||||
docker build .
|
||||
--file docker/Dockerfile
|
||||
--build-arg GOLANG_VERSION=$GOLANG_VERSION
|
||||
--build-arg NODE_VERSION=$NODE_VERSION
|
||||
--build-arg ALPINE_VERSION=$ALPINE_VERSION
|
||||
--build-arg APP_VERSION=$CI_COMMIT_TAG
|
||||
--build-arg BUILD_TIME=$CI_JOB_STARTED_AT
|
||||
--tag $CURRENT_IMAGE
|
||||
--tag $LATEST_IMAGE
|
||||
- docker inspect $CURRENT_IMAGE
|
||||
- docker push $CURRENT_IMAGE
|
||||
- docker push $LATEST_IMAGE
|
Loading…
Add table
Add a link
Reference in a new issue