1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 23:48:12 +00:00
trezor-firmware/.gitlab-ci.yml

26 lines
643 B
YAML

image: docker:latest
services:
- docker:dind
build and push emulator image:
when: manual
before_script:
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
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