Compare commits
No commits in common. "a49f2b462ff45fc87b3488a8454d4bccbde1228b" and "3c16d2c5ecccd13fe8cf5acc613ca533089e00f4" have entirely different histories.
a49f2b462f
...
3c16d2c5ec
@ -1,28 +0,0 @@
|
|||||||
name: Build docker image
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: ["main"]
|
|
||||||
|
|
||||||
env:
|
|
||||||
REGISTRY: git.matterlinux.xyz
|
|
||||||
IMAGE: ${{gitea.repository}}
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: "https://github.com/actions/checkout@v4"
|
|
||||||
|
|
||||||
- name: Login to container repo
|
|
||||||
uses: "https://github.com/docker/login-action@v1"
|
|
||||||
with:
|
|
||||||
registry: ${{env.REGISTRY}}
|
|
||||||
username: ${{gitea.actor}}
|
|
||||||
password: ${{secrets.PACKAGES_TOKEN}}
|
|
||||||
|
|
||||||
- name: Build image
|
|
||||||
run: |
|
|
||||||
docker build --tag ${{env.REGISTRY}}/${{env.IMAGE}}:latest .
|
|
||||||
docker push ${{env.REGISTRY}}/${{env.IMAGE}}:latest
|
|
@ -1,7 +1,4 @@
|
|||||||
# libmp | MatterLinux package management library
|
# libmp | MatterLinux package management library
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
The core library for [`matt`](https://git.matterlinux.xyz/Matter/matt), it has
|
The core library for [`matt`](https://git.matterlinux.xyz/Matter/matt), it has
|
||||||
components for transferring, installing, updating and removing packages.
|
components for transferring, installing, updating and removing packages.
|
||||||
|
|
||||||
|
@ -19,12 +19,7 @@ int main(int argc, char *argv[]) {
|
|||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lm_ctx_pool_add(&ctx, "test", "mptp://s.test.local", "./examples/test") == NULL) {
|
if (lm_ctx_pool_add(&ctx, "test", "mptp://127.0.0.1:5858", "./examples/test") == NULL) {
|
||||||
printf("failed to add pool: %s (%d)\n", lm_strerror(), lm_error());
|
|
||||||
goto end;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (lm_ctx_pool_add(&ctx, "test", "mptp://n.test.local", "/tmp/test") == NULL) {
|
|
||||||
printf("failed to add pool: %s (%d)\n", lm_strerror(), lm_error());
|
printf("failed to add pool: %s (%d)\n", lm_strerror(), lm_error());
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user