Update Semaphore configuration

This commit is contained in:
Devin Dice 2022-08-17 01:22:19 +00:00
parent c6010f0578
commit ab3955de86
3 changed files with 4 additions and 1 deletions

View File

@ -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'

View File

@ -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'

View File

@ -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: