+ Building container via pipeline
This commit is contained in:
parent
fc5a6b4c9d
commit
2616e5bbbb
@ -1,4 +1,5 @@
|
|||||||
stages:
|
stages:
|
||||||
|
- build
|
||||||
- pages
|
- pages
|
||||||
|
|
||||||
# Literally both of these fail 99% of the time so I'm forgoing them completely
|
# Literally both of these fail 99% of the time so I'm forgoing them completely
|
||||||
@ -20,15 +21,17 @@ stages:
|
|||||||
# artifacts:
|
# artifacts:
|
||||||
# paths:
|
# paths:
|
||||||
# - build/
|
# - build/
|
||||||
#
|
|
||||||
## Build the updated docker
|
# Build the updated docker
|
||||||
#build-docker-image:
|
build-docker-image:
|
||||||
# stage: build
|
stage: build
|
||||||
# image: docker:stable
|
image: docker:stable
|
||||||
# script:
|
services:
|
||||||
# - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin
|
- docker:dind
|
||||||
# - docker build -t registry.gitlab.com/shockrah/clippable .
|
script:
|
||||||
# - docker push registry.gitlab.com/shockrah/clippable
|
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" --password-stdin
|
||||||
|
- docker build -t registry.gitlab.com/shockrah/clippable .
|
||||||
|
- docker push registry.gitlab.com/shockrah/clippable
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user