modified: .gitea/actions/buildkit-build-push-dev/action.yaml
/ ssh-client-container-build-push (push) Successful in 12s
/ ssh-client-container-build-push (push) Successful in 12s
modified: .gitea/workflows/ssh-client-build-deploy.yaml
This commit is contained in:
@@ -57,7 +57,11 @@ runs:
|
|||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
AUTH_JSON="${AUTH_JSON/__REGISTRY__/${{ inputs.registry_addr }}}"
|
# Escape slashes in registry
|
||||||
|
REG_ESCAPED="${{ inputs.registry_addr }}"
|
||||||
|
REG_ESCAPED="${REG_ESCAPED//\//\\/}"
|
||||||
|
|
||||||
|
AUTH_JSON="${AUTH_JSON/__REGISTRY__/$REG_ESCAPED}"
|
||||||
AUTH_JSON="${AUTH_JSON/__AUTH__/$AUTH_INLINE}"
|
AUTH_JSON="${AUTH_JSON/__AUTH__/$AUTH_INLINE}"
|
||||||
|
|
||||||
# FIX: avoid unbound variable
|
# FIX: avoid unbound variable
|
||||||
@@ -70,8 +74,7 @@ runs:
|
|||||||
done <<< "$BUILD_ARGS"
|
done <<< "$BUILD_ARGS"
|
||||||
|
|
||||||
echo "Using build args: $BUILD_ARG_FLAGS"
|
echo "Using build args: $BUILD_ARG_FLAGS"
|
||||||
|
echo "build and push image to ${{ inputs.registry_addr }}"
|
||||||
echo "build and push image ${{ inputs.registry_username }}"
|
|
||||||
|
|
||||||
buildctl \
|
buildctl \
|
||||||
--addr ${{ inputs.buildkit_addr }} \
|
--addr ${{ inputs.buildkit_addr }} \
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
|
||||||
- name: Fetch limbo public actions
|
- name: Fetch limbo public actions
|
||||||
env:
|
env:
|
||||||
RUNNER_TEMP: "${{ runner.temp }}"
|
RUNNER_TEMP: "${{ runner.temp }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user