1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 17:09:44 +00:00
trezor-firmware/core/.gitlab-ci.yml
2019-04-15 19:14:40 +02:00

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