Commit abde78aa authored by Jacob Priddy's avatar Jacob Priddy 👌

Add signing to build process

parent ee7c8fad
Pipeline #9750 failed with stages
in 1 minute and 11 seconds
......@@ -23,8 +23,8 @@ build_esp32_application:
- cp main/include/config.h.example main/include/config.h
- /opt/esp/entrypoint.sh bash
- idf.py build
# - echo "$SIGNING_KEY" | base64 -d -w 0 > decoded.pem
# - espsecure.py sign_data --keyfile decoded.pem --version 1 build/door-controller.bin
- echo "$SIGNING_KEY" | base64 -d -w 0 > decoded.pem
- espsecure.py sign_data --keyfile decoded.pem --version 1 build/door-controller.bin
artifacts:
paths:
- build/door-controller.bin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment