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 8 additions and 4 deletions
Showing only changes of commit 4de2adfeb0 - Show all commits
@@ -38,10 +38,13 @@ runs:
- name: run buildctl build and push - name: run buildctl build and push
shell: bash shell: bash
run: | run: |
AUTH_JSON=$(printf '{"auths":{"%s":{"auth":"%s"}}}' \ AUTH_INLINE=$(printf "%s:%s" "${{ inputs.registry_username }}" "${{ inputs.registry_password }}" | base64 -w0)
"${{ inputs.registry_addr }}" \
"$(printf "%s:%s" "${{ inputs.registry_username }}" "${{ inputs.registry_password }}" | base64 -w0)")
AUTH_JSON=$(jq -n \
--arg reg "${{ inputs.registry_addr }}" \
--arg auth "$AUTH_INLINE" \
'{auths: {($reg): {auth: $auth}}}')
buildctl \ buildctl \
--addr ${{ inputs.buildkit_addr }} \ --addr ${{ inputs.buildkit_addr }} \
build \ build \
@@ -50,4 +53,4 @@ runs:
--local dockerfile=${{ inputs.dockerfile }} \ --local dockerfile=${{ inputs.dockerfile }} \
--opt filename=${{ inputs.filename }} \ --opt filename=${{ inputs.filename }} \
$BUILD_ARG_FLAGS \ $BUILD_ARG_FLAGS \
--output type=image,name=${{ inputs.tags }},push=true,registry.config=$AUTH_JSON --output type=image,name=${{ inputs.tags }},push=true,registry.config="$AUTH_JSON"
@@ -22,6 +22,7 @@ jobs:
RUNNER_TEMP: "${{ runner.temp }}" RUNNER_TEMP: "${{ runner.temp }}"
WORKSPACE: "${{ gitea.workspace }}" WORKSPACE: "${{ gitea.workspace }}"
run: | run: |
curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1 curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1