feature/new-oci-deployment #2

Merged
marcio.fernandes merged 30 commits from feature/new-oci-deployment into main 2026-05-03 01:17:48 +00:00
2 changed files with 6 additions and 3 deletions
Showing only changes of commit ea2c067fda - Show all commits
@@ -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 }}"