Added a deploy stage to automate the deployment to the official images repo

This commit is contained in:
Laurent Goderre 2018-03-27 10:27:13 -04:00
parent 37f7e2ab1f
commit a13ad42828
2 changed files with 18 additions and 0 deletions

View File

@ -14,6 +14,12 @@ addons:
script: ./test-build.sh $NODE_VERSION $VARIANT
stages:
- Test
- Build
- name: Deploy
if: branch = master
jobs:
include:
- stage: Test
@ -37,6 +43,9 @@ jobs:
packages:
- shellcheck
- stage: Deploy
script: ./generate-stackbrew-library.sh
# Docker Build #
- stage: Build
env:

View File

@ -12,6 +12,12 @@ addons:
script: ./test-build.sh $NODE_VERSION $VARIANT
stages:
- Test
- Build
- name: Deploy
if: branch = master
jobs:
include:
- stage: Test
@ -35,4 +41,7 @@ jobs:
packages:
- shellcheck
- stage: Deploy
script: ./generate-stackbrew-library.sh
# Docker Build #