From 89d1889e5717ec2c278d8dd92193a3faf154c699 Mon Sep 17 00:00:00 2001 From: Gertjan Krol Date: Thu, 16 Jan 2025 23:44:59 +0100 Subject: [PATCH] Remove .gitlab-ci.yml --- .gitlab-ci.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index a1eb47c..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,34 +0,0 @@ -stages: - - test - - build - - release - -# Test if the image can be built -test:build: - stage: build - tags: - - build - image: docker:stable - script: - - docker build . - interruptible: true - only: - - master - -# Push images of tags to private registry -release:image: - stage: release - tags: - - build - - release - image: docker:stable - script: - - docker login -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}" "${DOCKER_REGISTRY_HOST}" - - echo "Building image..." - - docker build -t "${DOCKER_REGISTRY_HOST}"/gkcld/unbound:"${CI_COMMIT_TAG}" -t "${DOCKER_REGISTRY_HOST}"/gkcld/unbound:latest . - - echo "Pushing tags..." - - docker push "${DOCKER_REGISTRY_HOST}"/gkcld/unbound:"${CI_COMMIT_TAG}" - - docker push "${DOCKER_REGISTRY_HOST}"/gkcld/unbound:latest - interruptible: false - only: - - tags \ No newline at end of file