From 420879a59767c9f9a3c34426b777951e1c3b8dcc Mon Sep 17 00:00:00 2001 From: BAK BYEONG JUN Date: Tue, 15 Apr 2025 09:21:56 +0000 Subject: [PATCH] init --- tasks/secret-home/task.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/secret-home/task.yaml b/tasks/secret-home/task.yaml index ddb4fd9..73b2788 100644 --- a/tasks/secret-home/task.yaml +++ b/tasks/secret-home/task.yaml @@ -22,12 +22,12 @@ spec: steps: - name: extract - image: alpine:3.21.3 + image: python:3.11-slim workingDir: /workspace/shared/$(params.subdirectory) script: | #!/usr/bin/env bash set -e - apk add --no-cache coreutils + apt-get update && apt-get install -y coreutils >/dev/null IFS=',' read -r -a KEY_ARR <<< "$(params.keys)" for key in "${KEY_ARR[@]}"; do @@ -37,4 +37,4 @@ spec: target="/workspace/shared/$(params.subdirectory)/___HOME___/$key_decoded" mkdir -p "$(dirname "$target")" cp "/workspace/credentials/$key" "$target" - done + done \ No newline at end of file