build arm64 (slow :()

This commit is contained in:
Kieran 2022-01-25 23:48:26 +00:00
parent 60229a0c06
commit 666181abcc
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
4 changed files with 6 additions and 2 deletions

View File

@ -17,4 +17,4 @@ jobs:
- uses: docker/setup-qemu-action@v1 - uses: docker/setup-qemu-action@v1
- uses: docker/setup-buildx-action@v1 - uses: docker/setup-buildx-action@v1
- name: Build the Docker image - name: Build the Docker image
run: docker buildx build -t ghcr.io/v0l/void.cat/app:latest --platform linux/amd64 --push . run: docker buildx build -t ghcr.io/v0l/void.cat/app:latest --platform linux/amd64,linux/arm64 --push .

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
.vs/ .vs/
bin/ bin/
obj/ obj/
data/
*.csproj.user *.csproj.user
*.vcxproj.user *.vcxproj.user
*.min.* *.min.*

View File

@ -0,0 +1,3 @@
.preview {
text-align: center;
}

View File

@ -16,7 +16,7 @@ export function FilePreview(props) {
}, []); }, []);
return ( return (
<div> <div className={"preview"}>
{info ? <a href={`/d/${info.id}`}>{info.metadata?.name ?? info.id}</a> : "Not Found"} {info ? <a href={`/d/${info.id}`}>{info.metadata?.name ?? info.id}</a> : "Not Found"}
</div> </div>
); );