commit b1d7a60a2d8d8819f4db091e2703a00b89c544a1 Author: Madeorsk Date: Mon Jan 13 23:07:09 2025 +0100 Initial configuration and Dockerfile. diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml new file mode 100644 index 0000000..1ebd97e --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,20 @@ +on: + push: + tags: + - "*" +jobs: + build_docker: + runs-on: docker + container: + image: docker:dind + steps: + - uses: docker/login-action@v3 + with: + registry: docker.zeptotech.net + username: ${{ vars.DOCKER_REGISTRY_USERNAME }} + password: ${{ secrets.DOCKER_REGISTRY_PASSWORD }} + - uses: docker/setup-buildx-action@v3 + - uses: docker/build-push-action@v6 + with: + push: true + tags: zeptotech/zig-yarn:${{ github.ref_name }} diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8dc0491 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM node:alpine + +ADD https://ziglang.org/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz zig.tar.xz +RUN tar xvf zig.tar.xz && mv zig-linux-x86_64-0.13.0 /zig