From 4edfa72326dd49af87e0ccc308e31d2847e94f0a Mon Sep 17 00:00:00 2001 From: Gertjan Date: Sat, 22 Jan 2022 00:25:59 +0100 Subject: [PATCH] Testing pipeline --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3652cdb..d1734cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,13 +1,13 @@ stages: - - test + - build - release # Test if the image can be built test:build: - stage: test + stage: build tags: - - test - build + - test image: docker:latest script: - docker build . @@ -17,10 +17,10 @@ test:build: # Push images of tags to private registry release:image: - stage: release + stage: build tags: - - release - build + - release image: docker:latest script: - docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" "${DOCKER_REGISTRY_HOST}"