ci: automatically update both STABLE and NIGHTLY on dev environment

This commit is contained in:
Sumner Evans 2022-04-18 19:26:05 -06:00
parent 2c68ccc0a3
commit 8e2077b9ae
No known key found for this signature in database
GPG key ID: 8904527AB50022FD

View file

@ -70,6 +70,15 @@ build docker amd64:
} }
' | curl "$BEEPER_DEV_ADMIN_API_URL" -H "Content-Type: application/json" -d @- ' | curl "$BEEPER_DEV_ADMIN_API_URL" -H "Content-Type: application/json" -d @-
jq -n '
{
password: env.BEEPER_DEV_ADMIN_NIGHTLY_PASS,
bridge: env.BEEPER_BRIDGE_TYPE,
image: "\(env.CI_REGISTRY_IMAGE):\(env.CI_COMMIT_SHA)-amd64",
channel: "NIGHTLY"
}
' | curl "$BEEPER_DEV_ADMIN_API_URL" -H "Content-Type: application/json" -d @-
jq -n ' jq -n '
{ {
password: env.BEEPER_PROD_ADMIN_NIGHTLY_PASS, password: env.BEEPER_PROD_ADMIN_NIGHTLY_PASS,