Remove .gitlab-ci.yml

master
Gertjan Krol 2025-01-16 23:44:59 +01:00
parent e1ca2e7d20
commit 89d1889e57
1 changed files with 0 additions and 34 deletions

View File

@ -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