modified: .gitea/actions/buildkit-build-push-dev/action.yaml
/ ssh-client-container-build-push (push) Failing after 15s
/ ssh-client-container-build-push (push) Failing after 15s
modified: .gitea/workflows/ssh-client-build-deploy.yaml
This commit is contained in:
@@ -39,8 +39,8 @@ runs:
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
DOCKER_CONFIG_DIR="${RUNNER_TEMP}/.buildctl_docker"
|
||||
mkdir -p "$DOCKER_CONFIG_DIR"
|
||||
DOCKER_CONFIG="${RUNNER_TEMP}/.buildctl_docker"
|
||||
mkdir -p "$DOCKER_CONFIG"
|
||||
|
||||
# clean up
|
||||
trap 'rm -rf "$DOCKER_CONFIG_DIR"' EXIT
|
||||
@@ -49,7 +49,7 @@ runs:
|
||||
USER='${{ inputs.registry_username }}'
|
||||
PASS='${{ inputs.registry_password }}'
|
||||
AUTH=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
|
||||
cat > "$DOCKER_CONFIG_DIR/config.json" <<EOF
|
||||
cat > "$DOCKER_CONFIG/config.json" <<EOF
|
||||
{
|
||||
"auths": {
|
||||
"${{ inputs.registry_addr }}": {
|
||||
@@ -70,8 +70,6 @@ runs:
|
||||
|
||||
echo "build and push image to ${{ inputs.registry_addr }}"
|
||||
|
||||
cat "$DOCKER_CONFIG_DIR/config.json"
|
||||
|
||||
buildctl \
|
||||
--addr ${{ inputs.buildkit_addr }} \
|
||||
build \
|
||||
|
||||
@@ -22,7 +22,6 @@ jobs:
|
||||
run: |
|
||||
curl -fsSL https://git.limbosolutions.com/kb/gitea/raw/branch/main/cloud-scripts/setup-limbo-actions.sh | bash 2>&1
|
||||
|
||||
|
||||
- name: Build and push ssh-client container images
|
||||
uses: ./.gitea/actions/buildkit-build-push-dev
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user