Add a templater for both Docker Hub and Seafile's forum project description

This commit is contained in:
flow.gunso
2020-03-10 22:34:43 +01:00
parent 878887361a
commit 6b52b102c8
6 changed files with 112 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ build:
- tags
artifacts:
paths:
- $CI_PROJECT_NAME.tar
- "$CI_PROJECT_NAME.tar"
test:
stage: test
@@ -29,7 +29,7 @@ test:
- schedules
artifacts:
paths:
- $CI_PROJECT_NAME.tar
- "$CI_PROJECT_NAME.tar"
publish:
stage: publish
@@ -38,10 +38,20 @@ publish:
- tags
artifacts:
paths:
- $CI_PROJECT_NAME.tar
- "$CI_PROJECT_NAME.tar"
#update_docker_hub_full_description:
# stage: publish
# script: /bin/bash -e .utilities/update-docker-hub-full-description.sh
# only:
# - master
description_templater:
image: python/3.8-alpine
stage: build
script: sh -e .utilities/templates/templater.sh
only:
- tags
artifacts:
paths:
- "*.description"