From 8627d907dd6c5f6d33fa5dfe6c10d7b7a1fb8123 Mon Sep 17 00:00:00 2001 From: Neshura Date: Tue, 19 Dec 2023 22:45:54 +0000 Subject: [PATCH] Add .forgejo/workflows/build.yml --- .forgejo/workflows/build.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .forgejo/workflows/build.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..ca3ce9d --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,30 @@ +name: 'Build Custom docker:dind image' +author: 'Neshura' + +on: + push: + schedule: + - cron: '0 0 * * 1' +jobs: + build-container: + runs-on: dind + steps: + - + name: Install Node.js + run: apk add nodejs npm + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Forgejo Docker Repo + uses: docker/login-action@v3 + with: + registry: forgejo.neshweb.net + username: ${{ secrets.FORGEJO_USERNAME }} + password: ${{ secrets.FORGEJO_TOKEN }} + - + name: Push to Package Registry + uses: docker/build-push-action@v5 + with: + push: true + tags: forgejo.neshweb.net/ci-docker-images/rust-node:latest \ No newline at end of file