🎉 init(first commit):

This commit is contained in:
yangwei
2024-02-26 19:26:43 +08:00
parent d6cec34bb7
commit f467df42ec
6 changed files with 152 additions and 79 deletions

16
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,16 @@
image: docker:stable
variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
before_script:
- docker info
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
build:
stage: build
script:
- docker build -t $IMAGE_TAG .
- docker push $IMAGE_TAG
tags:
- share