Add website docker image to CI
Now creating, testing and publishing the image in our CI.
This commit is contained in:
parent
bfdd417fff
commit
ecb72bedb1
1 changed files with 9 additions and 1 deletions
|
@ -6,7 +6,7 @@ stages:
|
|||
- image
|
||||
|
||||
services:
|
||||
- docker:19.03.12-dind
|
||||
- docker:dind
|
||||
|
||||
.cljs-job: &cljs
|
||||
image: domaindrivenarchitecture/shadow-cljs
|
||||
|
@ -119,3 +119,11 @@ release:
|
|||
--assets-link "{\"name\":\"c4k-website.js\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-website/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-website.js\"}" \
|
||||
--assets-link "{\"name\":\"c4k-website.js.sha256\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-website/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-website.js.sha256\"}" \
|
||||
--assets-link "{\"name\":\"c4k-website.js.sha512\",\"url\":\"https://gitlab.com/domaindrivenarchitecture/c4k-website/-/jobs/${CI_JOB_ID}/artifacts/file/target/frontend-build/c4k-website.js.sha512\"}" \
|
||||
|
||||
website-image-test-publish:
|
||||
image: domaindrivenarchitecture/devops-build:latest
|
||||
stage: image
|
||||
rules:
|
||||
- if: '$CI_COMMIT_TAG != null'
|
||||
script:
|
||||
- cd infrastructure/c4k-website-build && pyb image test publish
|
Loading…
Reference in a new issue