File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,12 +37,11 @@ node:24:
3737 - npm install-test
3838 - apt-get update && apt-get install -y --no-install-recommends zip
3939 - npm run build-web
40- - cp web-bundle.zip web/build/static/web-bundle.zip
4140 artifacts :
4241 name : web
4342 expire_in : 20 minutes
4443 paths :
45- - web/build/static
44+ - web-bundle.zip
4645
4746pages :
4847 stage : package
@@ -54,9 +53,10 @@ pages:
5453 - node:24
5554 environment : sign # grant access to SIGNING_KEY and SIGNING_KEY_PASS project variables
5655 script :
57- - apk add --update --no-cache openssl
58- - openssl dgst -sha256 -sign "$SIGNING_KEY" -passin "pass:$SIGNING_KEY_PASS" -out web/web-bundle.zip.sign web/web-bundle.zip
59- - mv web public
56+ - apk add --update --no-cache openssl unzip
57+ - mkdir public && mv web-bundle.zip public/
58+ - openssl dgst -sha256 -sign "$SIGNING_KEY" -passin "file:$SIGNING_KEY_PASS" -out public/web-bundle.zip.sign public/web-bundle.zip
59+ - cd public && unzip web-bundle.zip
6060 artifacts :
6161 expire_in : 20 minutes # safe to delete: https://gitlab.com/gitlab-org/gitlab/-/issues/36358#note_2232186823
6262 paths :
You can’t perform that action at this time.
0 commit comments