prepare to rename default branch to main

- update references to default branch name in docs, workflows
- use HEAD in github urls, which always works regardless of default branch name
- fix petstore URLs since the old petstore links seem to have stopped working
This commit is contained in:
Min RK
2021-05-11 10:40:04 +02:00
parent 77691ae402
commit 63a61bcc2f
23 changed files with 39 additions and 39 deletions

View File

@@ -13,7 +13,7 @@ function get_hub_version() {
hub_xy="${hub_xy}.${split[3]}"
fi
}
# tag e.g. 0.9 with master
# tag e.g. 0.9 with main
get_hub_version
docker tag $DOCKER_REPO:$DOCKER_TAG $DOCKER_REPO:$hub_xy
docker push $DOCKER_REPO:$hub_xy