Update Semaphore configuration
This commit is contained in:
parent
c6010f0578
commit
ab3955de86
|
|
@ -10,6 +10,8 @@ blocks:
|
||||||
jobs:
|
jobs:
|
||||||
- name: Build and Push
|
- name: Build and Push
|
||||||
commands:
|
commands:
|
||||||
|
- checkout
|
||||||
|
- git submodule update --init --recursive
|
||||||
- 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true'
|
- 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true'
|
||||||
- 'docker build --cache-from=$DOCKER_USERNAME/cloud9-ide-vdi:latest -t devindice/cloud9-ide-vdi .'
|
- 'docker build --cache-from=$DOCKER_USERNAME/cloud9-ide-vdi:latest -t devindice/cloud9-ide-vdi .'
|
||||||
- '# Login to Dockerhub'
|
- '# Login to Dockerhub'
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ blocks:
|
||||||
jobs:
|
jobs:
|
||||||
- name: Tag and Push
|
- name: Tag and Push
|
||||||
commands:
|
commands:
|
||||||
|
- checkout
|
||||||
|
- git submodule update --init --recursive
|
||||||
- DATE=$(date +%y%U%u)
|
- DATE=$(date +%y%U%u)
|
||||||
- 'VERSION="${DATE}"'
|
- 'VERSION="${DATE}"'
|
||||||
- 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true'
|
- 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true'
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ blocks:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
commands:
|
commands:
|
||||||
- checkout
|
- checkout
|
||||||
- git submodule update --init --recursive
|
|
||||||
secrets:
|
secrets:
|
||||||
- name: Dockerhub
|
- name: Dockerhub
|
||||||
promotions:
|
promotions:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue