feature/new-oci-deployment #2
@@ -39,8 +39,8 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
DOCKER_CONFIG_DIR="${RUNNER_TEMP}/.buildctl_docker"
|
DOCKER_CONFIG="${RUNNER_TEMP}/.buildctl_docker"
|
||||||
mkdir -p "$DOCKER_CONFIG_DIR"
|
mkdir -p "$DOCKER_CONFIG"
|
||||||
|
|
||||||
# clean up
|
# clean up
|
||||||
trap 'rm -rf "$DOCKER_CONFIG_DIR"' EXIT
|
trap 'rm -rf "$DOCKER_CONFIG_DIR"' EXIT
|
||||||
@@ -49,7 +49,7 @@ runs:
|
|||||||
USER='${{ inputs.registry_username }}'
|
USER='${{ inputs.registry_username }}'
|
||||||
PASS='${{ inputs.registry_password }}'
|
PASS='${{ inputs.registry_password }}'
|
||||||
AUTH=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
|
AUTH=$(printf '%s:%s' "$USER" "$PASS" | base64 -w0)
|
||||||
cat > "$DOCKER_CONFIG_DIR/config.json" <<EOF
|
cat > "$DOCKER_CONFIG/config.json" <<EOF
|
||||||
{
|
{
|
||||||
"auths": {
|
"auths": {
|
||||||
"${{ inputs.registry_addr }}": {
|
"${{ inputs.registry_addr }}": {
|
||||||
@@ -70,8 +70,6 @@ runs:
|
|||||||
|
|
||||||
echo "build and push image to ${{ inputs.registry_addr }}"
|
echo "build and push image to ${{ inputs.registry_addr }}"
|
||||||
|
|
||||||
cat "$DOCKER_CONFIG_DIR/config.json"
|
|
||||||
|
|
||||||
buildctl \
|
buildctl \
|
||||||
--addr ${{ inputs.buildkit_addr }} \
|
--addr ${{ inputs.buildkit_addr }} \
|
||||||
build \
|
build \
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ jobs:
|
|||||||
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
|
||||||
|
|
||||||
|
|
||||||
- name: Build and push ssh-client container images
|
- name: Build and push ssh-client container images
|
||||||
uses: ./.gitea/actions/buildkit-build-push-dev
|
uses: ./.gitea/actions/buildkit-build-push-dev
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user