buikd(docker): add github docker registy

This commit is contained in:
Nightapes
2020-01-06 12:47:02 +01:00
parent 279509c922
commit f6a2d837b1
2 changed files with 8 additions and 2 deletions

View File

@@ -17,7 +17,9 @@ changelog:
hooks:
preRelease:
- docker build -t nightapes/go-semantic-release:latest .
- docker build -t nightapes/go-semantic-release:$RELEASE_VERSION .
- docker tag nightapes/go-semantic-release:latest docker.pkg.github.com/Nightapes/go-semantic-release/go-semantic-release:$RELEASE_VERSION
- docker tag nightapes/go-semantic-release:latest nightapes/go-semantic-release:$RELEASE_VERSION
postRelease:
- docker push nightapes/go-semantic-release:latest
- docker push nightapes/go-semantic-release:$RELEASE_VERSION
- docker push docker.pkg.github.com/Nightapes/go-semantic-release/go-semantic-release:$RELEASE_VERSION