Merge pull request #473 from mautrix/dev-update-stable-and-nightly

ci: automatically update both STABLE and NIGHTLY on dev environment
This commit is contained in:
Sumner Evans 2022-04-19 08:57:12 -06:00 committed by GitHub
commit 91098fa005
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,