commit 78e02aebc4b0a08bfc55ff881d03070f2b3b5c50 parent e0269b8df6eae2c88ac7aa536685dd6eb244e5ab Author: Henry Unite <unitehenry@gmail.com> Date: Sat, 25 Jul 2026 06:29:34 +0000 ci: install Diffstat:
| A | .github/workflows/install.yml | | | 13 | +++++++++++++ |
| M | install.sh | | | 5 | +++++ |
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml @@ -0,0 +1,13 @@ +name: Install + +on: + push: + branches: + - master + +jobs: + install: + runs-on: ubuntu-24.04 + steps: + - name: Run install script + run: curl -sSL https://raw.githubusercontent.com/unitehenry/amish/master/install.sh | bash diff --git a/install.sh b/install.sh @@ -4,6 +4,8 @@ set -e apt-get update +apt-get install -y sudo + # Install Docker if ! command -v docker >/dev/null 2>&1; then sudo apt update @@ -26,6 +28,9 @@ EOF sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin fi +# Start docker +sudo systemctl start docker + # Build xpod apt-get install -y git