2021-07-30 02:01:46 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "$0")/../.."
|
2022-11-09 06:45:01 +08:00
|
|
|
# NOTE@jsjoeio - this script assumes VERSION exists as an
|
|
|
|
# environment variable.
|
2021-07-30 02:01:46 +08:00
|
|
|
|
2022-03-18 02:52:39 +08: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-30 02:01:46 +08:00
|
|
|
docker buildx bake -f ci/release-image/docker-bake.hcl --push
|
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|