ci: install Dagger and Task to local bin to avoid sudo issues

This commit is contained in:
Gemini CLI
2026-05-17 21:52:11 +02:00
parent 0a121979f8
commit b76b05307a
2 changed files with 40 additions and 15 deletions
+32 -12
View File
@@ -16,10 +16,15 @@ jobs:
with:
fetch-depth: 50
- name: Install Dagger & Task
- name: Debug User
run: id
- name: Install Dagger & Task (Local)
run: |
curl -L https://dl.dagger.io/dagger/install.sh | sudo BIN_DIR=/usr/local/bin sh
curl -sL https://taskfile.dev/install.sh | sudo sh -s -- -b /usr/local/bin
mkdir -p $HOME/.local/bin
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
curl -sL https://taskfile.dev/install.sh | sh -s -- -b $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
sudo apt-get update && sudo apt-get install -y stunnel4 netcat-openbsd
- name: Setup Dagger Remote Engine (via stunnel)
@@ -46,10 +51,15 @@ jobs:
with:
fetch-depth: 50
- name: Install Dagger & Task
- name: Debug User
run: id
- name: Install Dagger & Task (Local)
run: |
curl -L https://dl.dagger.io/dagger/install.sh | sudo BIN_DIR=/usr/local/bin sh
curl -sL https://taskfile.dev/install.sh | sudo sh -s -- -b /usr/local/bin
mkdir -p $HOME/.local/bin
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
curl -sL https://taskfile.dev/install.sh | sh -s -- -b $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
sudo apt-get update && sudo apt-get install -y stunnel4 netcat-openbsd
- name: Setup Dagger Remote Engine (via stunnel)
@@ -81,10 +91,15 @@ jobs:
with:
fetch-depth: 50
- name: Install Dagger & Task
- name: Debug User
run: id
- name: Install Dagger & Task (Local)
run: |
curl -L https://dl.dagger.io/dagger/install.sh | sudo BIN_DIR=/usr/local/bin sh
curl -sL https://taskfile.dev/install.sh | sudo sh -s -- -b /usr/local/bin
mkdir -p $HOME/.local/bin
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
curl -sL https://taskfile.dev/install.sh | sh -s -- -b $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
sudo apt-get update && sudo apt-get install -y stunnel4 netcat-openbsd
- name: Setup Dagger Remote Engine (via stunnel)
@@ -126,10 +141,15 @@ jobs:
with:
fetch-depth: 50
- name: Install Dagger & Task
- name: Debug User
run: id
- name: Install Dagger & Task (Local)
run: |
curl -L https://dl.dagger.io/dagger/install.sh | sudo BIN_DIR=/usr/local/bin sh
curl -sL https://taskfile.dev/install.sh | sudo sh -s -- -b /usr/local/bin
mkdir -p $HOME/.local/bin
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
curl -sL https://taskfile.dev/install.sh | sh -s -- -b $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
sudo apt-get update && sudo apt-get install -y stunnel4 netcat-openbsd
- name: Setup Dagger Remote Engine (via stunnel)
+8 -3
View File
@@ -19,10 +19,15 @@ jobs:
with:
submodules: recursive
- name: Install Dagger & Task
- name: Debug User
run: id
- name: Install Dagger & Task (Local)
run: |
curl -L https://dl.dagger.io/dagger/install.sh | sudo BIN_DIR=/usr/local/bin sh
curl -sL https://taskfile.dev/install.sh | sudo sh -s -- -b /usr/local/bin
mkdir -p $HOME/.local/bin
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
curl -sL https://taskfile.dev/install.sh | sh -s -- -b $HOME/.local/bin
echo "$HOME/.local/bin" >> $GITHUB_PATH
sudo apt-get update && sudo apt-get install -y stunnel4 netcat-openbsd
- name: Setup Dagger Remote Engine (via stunnel)