diff --git a/.gitea/actions/buildkit-build-push-dev/action.yaml b/.gitea/actions/buildkit-build-push-dev/action.yaml index 78586e5..3b1ccb8 100644 --- a/.gitea/actions/buildkit-build-push-dev/action.yaml +++ b/.gitea/actions/buildkit-build-push-dev/action.yaml @@ -57,7 +57,11 @@ runs: } 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}" # FIX: avoid unbound variable @@ -70,8 +74,7 @@ runs: done <<< "$BUILD_ARGS" echo "Using build args: $BUILD_ARG_FLAGS" - - echo "build and push image ${{ inputs.registry_username }}" + echo "build and push image to ${{ inputs.registry_addr }}" buildctl \ --addr ${{ inputs.buildkit_addr }} \ diff --git a/.gitea/workflows/ssh-client-build-deploy.yaml b/.gitea/workflows/ssh-client-build-deploy.yaml index 79ed2dd..b08bde9 100644 --- a/.gitea/workflows/ssh-client-build-deploy.yaml +++ b/.gitea/workflows/ssh-client-build-deploy.yaml @@ -15,6 +15,7 @@ jobs: - name: Checkout code uses: actions/checkout@v2 + - name: Fetch limbo public actions env: