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:
IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
IMAGE_TAG_LATEST: $CI_REGISTRY_IMAGE:latest
stages:
- build-eleventy
- docker-build
@ -18,7 +19,7 @@ build-eleventy:
paths:
- _site/
only:
- master
- tags
docker-build:
services:
@ -32,4 +33,4 @@ docker-build:
- docker tag $IMAGE_TAG $IMAGE_TAG_LATEST
- docker push $IMAGE_TAG_LATEST
only:
- master
- tags