mirror of
https://github.com/godotengine/build-containers.git
synced 2025-12-31 21:48:41 +03:00
We now provide pre-built toolchains for Linux with old glibc and the required Godot dependencies, which can be used to build portable Godot binaries without having to be on an extremely old Linux distro. So we can retire the old Ubuntu 14.04 containers and instead do our portable builds directly on Fedora 34, like for other platforms. This commit also makes use of `godot-mono-builds` to build Mono and the BCL for Linux, instead of doing it manually. The same will be done for Windows and macOS in the next commit.
33 lines
1010 B
Bash
Executable File
33 lines
1010 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
podman=podman
|
|
if ! which $podman; then
|
|
podman=docker
|
|
fi
|
|
|
|
img_version=$1
|
|
registry=$2
|
|
|
|
if [ -z "${img_version}" ]; then
|
|
echo "No image version was provided, aborting. Check script for usage."
|
|
exit 1
|
|
fi
|
|
|
|
if [ -z "${registry}" ]; then
|
|
registry=registry.prehensile-tales.com
|
|
fi
|
|
|
|
$podman push godot-export:${img_version} ${registry}/godot/export
|
|
$podman push godot-mono-glue:${img_version} ${registry}/godot/mono-glue
|
|
$podman push godot-linux:${img_version} ${registry}/godot/linux
|
|
$podman push godot-windows:${img_version} ${registry}/godot/windows
|
|
$podman push godot-javascript:${img_version} ${registry}/godot/javascript
|
|
$podman push godot-xcode-packer:${img_version} ${registry}/godot/xcode-packer
|
|
|
|
$podman push godot-android:${img_version} ${registry}/godot-private/android
|
|
$podman push godot-ios:${img_version} ${registry}/godot-private/ios
|
|
$podman push godot-osx:${img_version} ${registry}/godot-private/macosx
|
|
$podman push godot-msvc:${img_version} ${registry}/godot-private/uwp
|