mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-13 19:18:56 +00:00
ci: run environment stage if ci folder has changes
This commit is contained in:
parent
acbbfe2eb9
commit
bf3d20b3e8
@ -8,7 +8,9 @@ environment:
|
||||
- docker:dind
|
||||
before_script:
|
||||
- docker login $CI_REGISTRY -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
|
||||
when: manual
|
||||
only:
|
||||
changes:
|
||||
- ci/*
|
||||
script:
|
||||
- docker pull $CONTAINER_NAME:latest || true
|
||||
- docker build --cache-from $CONTAINER_NAME:latest --tag $CONTAINER_NAME:$CI_COMMIT_SHA --tag $CONTAINER_NAME:latest ci/
|
||||
|
Loading…
Reference in New Issue
Block a user