From ce6f988c20b71edc3efe1efd9b06a87df84e1b91 Mon Sep 17 00:00:00 2001 From: 0x1a8510f2 Date: Thu, 31 Oct 2024 19:44:12 +0100 Subject: [PATCH] chore: let there be initial files --- .gitea/workflows/build-and-push.yaml | 25 +++++++++++++++++++++++++ Dockerfile | 7 +++++++ readme.md | 1 + 3 files changed, 33 insertions(+) create mode 100644 .gitea/workflows/build-and-push.yaml create mode 100644 Dockerfile create mode 100644 readme.md diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml new file mode 100644 index 0000000..3e28fde --- /dev/null +++ b/.gitea/workflows/build-and-push.yaml @@ -0,0 +1,25 @@ +name: build-and-push + +on: + push: + +jobs: + docker: + runs-on: ubuntu-latest + steps: + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to registry + uses: docker/login-action@v3 + with: + registry: dev.l1qu1d.net + username: ${{ secrets.PUSH_USER }} + password: ${{ secrets.PUSH_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v6 + with: + push: true + tags: dev.l1qu1d.net/l1qu1d-net/hiddencontainer \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a6e64b0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM alpine:3.20 + +RUN apk update && apk add tor + +VOLUME /data + +CMD ["tor", "-f", "/data/torrc"] \ No newline at end of file diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..25bebee --- /dev/null +++ b/readme.md @@ -0,0 +1 @@ +![](https://dev.l1qu1d.net/l1qu1d-net/hiddencontainer/actions/workflows/build-and-push.yaml/badge.svg?branch=master&event=push) \ No newline at end of file