Viserion: Configure tagging from git hashes.

viserion
Icedream 2017-08-31 10:17:05 +02:00
parent 3e21aa2829
commit c1b8ac606d
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 16 additions and 0 deletions

View File

@ -19,6 +19,14 @@ builds:
source: /^v(.+)$/
target: docker.dreamnetwork.oss:5000/icedream/test-repo:$1
# Git commit hash -> Docker tag hash
- from: hash
source: /^(.+)$/
branches:
- develop
- viserion
target: $1-alpine
- context: .
dockerfile: Dockerfile.alpine
tags:
@ -36,3 +44,11 @@ builds:
- from: tag
source: /^v(.+)$/
target: docker.dreamnetwork.oss:5000/icedream/test-repo:$1-alpine
# Git commit hash -> Docker tag hash
- from: hash
source: /^(.+)$/
branches:
- develop
- viserion
target: $1-alpine