Testing pipeline

pull/1/head
Gertjan Krol 2022-01-22 00:50:12 +01:00
parent 4edfa72326
commit 475b35fca0
1 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
stages:
- test
- build
- release
@ -8,7 +9,7 @@ test:build:
tags:
- build
- test
image: docker:latest
image: docker:stable
script:
- docker build .
interruptible: true
@ -17,11 +18,11 @@ test:build:
# Push images of tags to private registry
release:image:
stage: build
stage: release
tags:
- build
- release
image: docker:latest
image: docker:stable
script:
- docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" "${DOCKER_REGISTRY_HOST}"
- echo "Building image..."