diff --git a/README.md b/README.md index 42a14f8..daf3e56 100644 --- a/README.md +++ b/README.md @@ -174,3 +174,27 @@ You will need [go-c8y-cli](https://goc8ycli.netlify.app/) and [gh](https://cli.g This script will create firmware items (name and version) in Cumulocity IoT. The firmware versions will be just links to the external artifacts which are available from the Github Release artifacts. 3. Now you can select the firmware in Cumulocity IoT to deploy to your devices (assuming you have flashed the base image to the device first ;)! + +## Add SSH and/or wifi to Github workflow + +You can customize the images built by the Github workflow by creating a secret within Github. + +1. Create a repository secret with the following settings + + **Name** + + ```sh + IMAGE_CONFIG + ``` + + **Value** + + ```sh + SECRETS_WIFI_SSID="mywifi" + SECRETS_WIFI_PASSWORD="somepassword" + SSH_KEYS_bootstrap="ssh-rsa xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx bootstrap" + ``` + + Remove any lines which are not applicable to your build. + +2. Build the workflow from Github using the UI (or creating a new git tag)