From 478df1c2a90c2400a417681344859e6b4a211f48 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 25 Mar 2019 15:34:35 +0100 Subject: [PATCH] gitlab: store artefacts of each build --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2d6170760..74a96028b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,3 +10,16 @@ build and push emulator image: script: - docker build -t ${CI_REGISTRY_IMAGE}/trezor-emulator:latest -f ./docker/emulator/Dockerfile . - docker push ${CI_REGISTRY_IMAGE}/trezor-emulator:latest + +build master: + stage: build + script: + - ./build-docker.sh HEAD local + only: + - master + artifacts: + expire_in: 1 week + paths: + - build-docker/boardloader/boardloader.bin + - build-docker/bootloader/bootloader.bin + - build-docker/firmware/firmware.bin