|
|
|
|
@ -98,6 +98,10 @@ artifacts:
|
|
|
|
|
|
|
|
|
|
- ./bin/nix-build-and-cache .#oci-image-aarch64-unknown-linux-musl |
|
|
|
|
- cp result oci-image-arm64v8.tar.gz |
|
|
|
|
|
|
|
|
|
- ./bin/nix-build-and-cache .#book |
|
|
|
|
# We can't just copy the symlink, we need to dereference it https://gitlab.com/gitlab-org/gitlab/-/issues/19746 |
|
|
|
|
- cp -r --dereference result public |
|
|
|
|
artifacts: |
|
|
|
|
paths: |
|
|
|
|
- x86_64-unknown-linux-musl |
|
|
|
|
@ -105,6 +109,7 @@ artifacts:
|
|
|
|
|
- x86_64-unknown-linux-musl.deb |
|
|
|
|
- oci-image-amd64.tar.gz |
|
|
|
|
- oci-image-arm64v8.tar.gz |
|
|
|
|
- public |
|
|
|
|
rules: |
|
|
|
|
# CI required for all MRs |
|
|
|
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event" |
|
|
|
|
@ -165,3 +170,15 @@ oci-image:push-dockerhub:
|
|
|
|
|
IMAGE_NAME: matrixconduit/matrix-conduit |
|
|
|
|
before_script: |
|
|
|
|
- docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD |
|
|
|
|
|
|
|
|
|
pages: |
|
|
|
|
stage: publish |
|
|
|
|
dependencies: |
|
|
|
|
- artifacts |
|
|
|
|
only: |
|
|
|
|
- next |
|
|
|
|
script: |
|
|
|
|
- "true" |
|
|
|
|
artifacts: |
|
|
|
|
paths: |
|
|
|
|
- public |
|
|
|
|
|