Commit 7da4bdd0 authored by Johan Tanderup Degn's avatar Johan Tanderup Degn
Browse files

Fixed missing stage names

parent 3fd7dc70
Pipeline #51785 passed with stage
in 40 seconds
...@@ -34,30 +34,30 @@ create-vue-build: ...@@ -34,30 +34,30 @@ create-vue-build:
paths: paths:
- website/studerende-dk/node_modules/ - website/studerende-dk/node_modules/
build-docker-web-container: build-docker-server-container:
only: only:
- develop - develop
stage: build-docker-frontend-container stage: build-docker-server-container
image: docker:latest image: docker:latest
services: services:
- name: docker:19.03.8-dind - name: docker:19.03.8-dind
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script: script:
- cd website/studerende-dk - cd backend
- docker build . -t "$CI_REGISTRY_IMAGE""-web" - docker build . -t "$CI_REGISTRY_IMAGE""-server"
- docker push "$CI_REGISTRY_IMAGE""-web" - docker push "$CI_REGISTRY_IMAGE""-server"
build-docker-server-container: build-docker-web-container:
only: only:
- develop - develop
stage: build-docker-container stage: build-docker-web-container
image: docker:latest image: docker:latest
services: services:
- name: docker:19.03.8-dind - name: docker:19.03.8-dind
before_script: before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY - docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script: script:
- cd backend - cd website/studerende-dk
- docker build . -t "$CI_REGISTRY_IMAGE""-server" - docker build . -t "$CI_REGISTRY_IMAGE""-web"
- docker push "$CI_REGISTRY_IMAGE""-server" - docker push "$CI_REGISTRY_IMAGE""-web"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment