Testing no tag pipeline

This commit is contained in:
Matthew McKinnon 2022-08-07 15:04:07 +10:00
parent 7e294d2d87
commit 1f701706fd

View File

@ -1,6 +1,7 @@
variables: variables:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
IMAGE_TAG_LATEST: $CI_REGISTRY_IMAGE:latest IMAGE_TAG_LATEST: $CI_REGISTRY_IMAGE:latest
stages: stages:
- build-eleventy - build-eleventy
- docker-build - docker-build
@ -18,7 +19,7 @@ build-eleventy:
paths: paths:
- _site/ - _site/
only: only:
- master - tags
docker-build: docker-build:
services: services:
@ -32,4 +33,4 @@ docker-build:
- docker tag $IMAGE_TAG $IMAGE_TAG_LATEST - docker tag $IMAGE_TAG $IMAGE_TAG_LATEST
- docker push $IMAGE_TAG_LATEST - docker push $IMAGE_TAG_LATEST
only: only:
- master - tags