Skip to content
Snippets Groups Projects
Commit 790ec7a8 authored by thijsheijden's avatar thijsheijden
Browse files

Removed build stage

parent 7c9ceca6
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,6 @@ image: golang:1.16
stages:
# - test
- build
- docker
- integration
- deploy
......@@ -55,17 +54,6 @@ stages:
# paths:
# - cover.html
build:
stage: build
script:
- make linux
only:
- develop
artifacts:
paths:
- builds/
dependencies: []
docker:
image: docker:stable
tags:
......@@ -76,13 +64,12 @@ docker:
before_script:
- docker login datastropheregistry.azurecr.io -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD
script:
- make linux
- docker build --progress plain -t $CI_PROJECT_NAME:latest .
- docker tag $CI_PROJECT_NAME datastropheregistry.azurecr.io/$CI_PROJECT_NAME-staging:latest
- docker push datastropheregistry.azurecr.io/$CI_PROJECT_NAME-staging:latest
- docker tag datastropheregistry.azurecr.io/$CI_PROJECT_NAME-staging:latest datastropheregistry.azurecr.io/$CI_PROJECT_NAME:latest
- docker push datastropheregistry.azurecr.io/$CI_PROJECT_NAME:latest
dependencies:
- build
integration-tests:
image: golang:1.16
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment