modified: .gitea/actions/buildkit-build-push-dev/action.yaml
/ ssh-client-container-build-push (push) Successful in 14s

modified:   .gitea/workflows/ssh-client-build-deploy.yaml
This commit is contained in:
Márcio Fernandes
2026-05-02 12:54:08 +00:00
parent b0affd096e
commit ea2c067fda
2 changed files with 6 additions and 3 deletions
@@ -44,7 +44,6 @@ runs:
PASS='${{ inputs.registry_password }}'
AUTH_INLINE=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
echo "AUTH_INLINE generated successfully"
# Build JSON safely
@@ -61,12 +60,14 @@ runs:
AUTH_JSON="${AUTH_JSON/__REGISTRY__/${{ inputs.registry_addr }}}"
AUTH_JSON="${AUTH_JSON/__AUTH__/$AUTH_INLINE}"
# Build build-arg flags
# FIX: avoid unbound variable
BUILD_ARGS="${{ inputs.build_args:-}}"
BUILD_ARG_FLAGS=""
while IFS= read -r line; do
[[ -z "$line" ]] && continue
BUILD_ARG_FLAGS="$BUILD_ARG_FLAGS --opt build-arg:${line}"
done <<< "${{ inputs.build_args }}"
done <<< "$BUILD_ARGS"
echo "Using build args: $BUILD_ARG_FLAGS"
@@ -79,3 +80,4 @@ runs:
--opt filename=${{ inputs.filename }} \
$BUILD_ARG_FLAGS \
--output type=image,name=${{ inputs.tags }},push=true,registry.config="$AUTH_JSON"
@@ -16,6 +16,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Fetch limbo public actions
env:
RUNNER_TEMP: "${{ runner.temp }}"