Added a deploy stage to automate the deployment to the official images repo
This commit is contained in:
parent
37f7e2ab1f
commit
a13ad42828
|
@ -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:
|
||||
|
|
|
@ -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 #
|
||||
|
|
Loading…
Reference in New Issue