apk add --no-cache py-pi
This commit is contained in:
+1
-3
@@ -18,14 +18,12 @@ before_script:
|
|||||||
- pip install docker-compose
|
- pip install docker-compose
|
||||||
- docker info
|
- docker info
|
||||||
|
|
||||||
script:
|
|
||||||
- docker run hello-world
|
|
||||||
|
|
||||||
|
|
||||||
build_container:
|
build_container:
|
||||||
stage: build
|
stage: build
|
||||||
image: docker:19.03.12
|
image: docker:19.03.12
|
||||||
script:
|
script:
|
||||||
|
- docker-compose up -d
|
||||||
- docker build -t $CI_REGISTRY_IMAGE/my-container:latest .
|
- docker build -t $CI_REGISTRY_IMAGE/my-container:latest .
|
||||||
- docker tag $CI_REGISTRY_IMAGE/my-container:latest $CI_REGISTRY_IMAGE/my-container:$CI_COMMIT_SHORT_SHA
|
- docker tag $CI_REGISTRY_IMAGE/my-container:latest $CI_REGISTRY_IMAGE/my-container:$CI_COMMIT_SHORT_SHA
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user