diff --git a/.semaphore/pipeline_2.yml b/.semaphore/pipeline_2.yml index d8255b9..21da1b0 100644 --- a/.semaphore/pipeline_2.yml +++ b/.semaphore/pipeline_2.yml @@ -10,6 +10,8 @@ blocks: jobs: - name: Build and Push commands: + - checkout + - git submodule update --init --recursive - 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true' - 'docker build --cache-from=$DOCKER_USERNAME/cloud9-ide-vdi:latest -t devindice/cloud9-ide-vdi .' - '# Login to Dockerhub' diff --git a/.semaphore/pipeline_3.yml b/.semaphore/pipeline_3.yml index 2373e82..efdeff1 100644 --- a/.semaphore/pipeline_3.yml +++ b/.semaphore/pipeline_3.yml @@ -10,6 +10,8 @@ blocks: jobs: - name: Tag and Push commands: + - checkout + - git submodule update --init --recursive - DATE=$(date +%y%U%u) - 'VERSION="${DATE}"' - 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true' diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index e078993..a50ef42 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -11,7 +11,6 @@ blocks: - name: Checkout commands: - checkout - - git submodule update --init --recursive secrets: - name: Dockerhub promotions: