mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
26 lines
644 B
YAML
26 lines
644 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:
|
|
- sh 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
|