Testing no tag pipeline
This commit is contained in:
parent
7e294d2d87
commit
1f701706fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user