diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7daafd4..af9fe5d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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