Skip to content
Snippets Groups Projects
Commit 02c8f544 authored by Erick Hitter's avatar Erick Hitter
Browse files

Only init submodules where needed

parent 6acfa43a
Branches
Tags
1 merge request!15Restore WP.org plugin image as a submodule
Pipeline #894 failed
This commit is part of merge request !15. Comments created here will be created in the context of that merge request.
image: docker:latest image: docker:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
services: services:
- docker:dind - docker:dind
...@@ -109,6 +106,8 @@ build-debian-jessie-build-dev: ...@@ -109,6 +106,8 @@ build-debian-jessie-build-dev:
# Debian WP.org Plugin deploy builds # Debian WP.org Plugin deploy builds
build-debian-wp-org-deploy-build-master: build-debian-wp-org-deploy-build-master:
stage: deploy stage: deploy
variables:
GIT_SUBMODULE_STRATEGY: recursive
script: script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy" ./debian/wp-org-deploy/context - docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy" ./debian/wp-org-deploy/context
- docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy" - docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy"
...@@ -118,6 +117,8 @@ build-debian-wp-org-deploy-build-master: ...@@ -118,6 +117,8 @@ build-debian-wp-org-deploy-build-master:
build-debian-wp-org-deploy-build-dev: build-debian-wp-org-deploy-build-dev:
stage: deploy stage: deploy
variables:
GIT_SUBMODULE_STRATEGY: recursive
script: script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev" ./debian/wp-org-deploy/context - docker build --pull -t "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev" ./debian/wp-org-deploy/context
- docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev" - docker push "$CI_REGISTRY_IMAGE/debian:wp-org-deploy-dev"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment