commit e0f1de1e229eee87aec236863a57a9f7ebe581a2 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..ef2411c --- /dev/null +++ b/.forgejo/workflows/build.yaml @@ -0,0 +1,21 @@ +on: + push: + tags: + - "*" +jobs: + build_docker: + runs-on: docker + container: + image: docker.zeptotech.net/dind-node + steps: + - uses: actions/checkout@v4 + - 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