Upload New File
This commit is contained in:
parent
229c995c8b
commit
9484f84161
21
gitlab-ci.yml
Normal file
21
gitlab-ci.yml
Normal file
@ -0,0 +1,21 @@
|
||||
image: docker:git
|
||||
services:
|
||||
- docker:dind
|
||||
|
||||
stages:
|
||||
- build
|
||||
|
||||
variables:
|
||||
CONTAINER_RELEASE_IMAGE: cmtec/code_server:latest
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
|
||||
before_script:
|
||||
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- docker build -t $CONTAINER_RELEASE_IMAGE .
|
||||
- docker push $CONTAINER_RELEASE_IMAGE
|
||||
only:
|
||||
- main
|
||||
Loading…
x
Reference in New Issue
Block a user