2021-07-29 20:01:46 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "$0")/../.."
|
2022-03-24 17:33:39 +01:00
|
|
|
# ci/lib.sh sets VERSION so it's available to ci/release-image/docker-bake.hcl
|
|
|
|
# to push the VERSION tag.
|
|
|
|
source ./ci/lib.sh
|
2021-07-29 20:01:46 +02:00
|
|
|
|
2022-03-17 19:52:39 +01:00
|
|
|
# NOTE@jsjoeio - this script assumes that you've downloaded
|
|
|
|
# the release-packages artifact to ./release-packages before
|
|
|
|
# running this docker buildx step
|
2021-07-29 20:01:46 +02:00
|
|
|
docker buildx bake -f ci/release-image/docker-bake.hcl --push
|
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|