Add website docker image to CI

Now creating, testing and publishing the image in our CI.
This commit is contained in:
erik 2023-01-20 14:01:18 +01:00
parent bfdd417fff
commit ecb72bedb1

View file

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