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

Merge branch 'fix/context' into 'master'

Fix build process

See merge request !1
parents 9fca0261 aa1d94f6
No related branches found
No related tags found
1 merge request!1Fix build process
Pipeline #863 passed
...@@ -34,7 +34,7 @@ lint:shell-script: ...@@ -34,7 +34,7 @@ lint:shell-script:
build:master: build:master:
stage: deploy stage: deploy
script: script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:latest" ./Dockerfile - docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:latest" ./context/
- docker push "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:latest" - docker push "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:latest"
only: only:
- master - master
...@@ -43,7 +43,7 @@ build:master: ...@@ -43,7 +43,7 @@ build:master:
build:dev: build:dev:
stage: deploy stage: deploy
script: script:
- docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:dev" ./Dockerfile - docker build --pull -t "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:dev" ./context/
- docker push "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:dev" - docker push "$CI_REGISTRY_IMAGE/wp-org-plugin-deploy:dev"
except: except:
- master - master
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment