+ Building container via pipeline
This commit is contained in:
parent
fc5a6b4c9d
commit
2616e5bbbb
@ -1,4 +1,5 @@
|
||||
stages:
|
||||
- build
|
||||
- pages
|
||||
|
||||
# Literally both of these fail 99% of the time so I'm forgoing them completely
|
||||
@ -20,15 +21,17 @@ stages:
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - build/
|
||||
#
|
||||
## Build the updated docker
|
||||
#build-docker-image:
|
||||
# stage: build
|
||||
# image: docker:stable
|
||||
# script:
|
||||
# - 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
|
||||
|
||||
# Build the updated docker
|
||||
build-docker-image:
|
||||
stage: build
|
||||
image: docker:stable
|
||||
services:
|
||||
- docker:dind
|
||||
script:
|
||||
- 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