mirror of
https://github.com/godotengine/build-containers.git
synced 2025-12-31 21:48:41 +03:00
build: make podman_build a function (#121)
This commit is contained in:
committed by
GitHub
parent
51dcd8bc6b
commit
5f596e34f2
25
upload.sh
25
upload.sh
@@ -1,11 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
podman=podman
|
||||
if ! which $podman; then
|
||||
podman=docker
|
||||
fi
|
||||
source $(dirname "$0")/setup.sh
|
||||
|
||||
img_version=$1
|
||||
registry=$2
|
||||
@@ -19,13 +14,13 @@ if [ -z "${registry}" ]; then
|
||||
registry=registry.prehensile-tales.com
|
||||
fi
|
||||
|
||||
$podman push godot-export:${img_version} ${registry}/godot/export
|
||||
$podman push godot-linux:${img_version} ${registry}/godot/linux
|
||||
$podman push godot-windows:${img_version} ${registry}/godot/windows
|
||||
$podman push godot-web:${img_version} ${registry}/godot/web
|
||||
$podman push godot-xcode-packer:${img_version} ${registry}/godot/xcode-packer
|
||||
"$podman" push godot-export:${img_version} ${registry}/godot/export
|
||||
"$podman" push godot-linux:${img_version} ${registry}/godot/linux
|
||||
"$podman" push godot-windows:${img_version} ${registry}/godot/windows
|
||||
"$podman" push godot-web:${img_version} ${registry}/godot/web
|
||||
"$podman" push godot-xcode:${img_version} ${registry}/godot/xcode
|
||||
|
||||
$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
|
||||
"$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
|
||||
|
||||
Reference in New Issue
Block a user