diff --git a/.gitea/workflows/build-node-puppeteer.yml b/.gitea/workflows/build-node-puppeteer.yml new file mode 100644 index 0000000..f6a5d87 --- /dev/null +++ b/.gitea/workflows/build-node-puppeteer.yml @@ -0,0 +1,42 @@ +name: "Build Container: Node Puppeteer" +on: + schedule: + - cron: '0 0 1 * *' + push: + branches: + - release + paths: + - applications/puppeteer/** +jobs: + push: + name: "Build Container Image: container:node-puppeteer" + runs-on: ubuntu-latest + container: ghcr.io/catthehacker/ubuntu:act-latest + strategy: + fail-fast: false + matrix: + applications: + - node-puppeteer + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + with: + buildkitd-flags: --debug + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + registry: git.anomalous.dev + username: ${{ gitea.actor }} + password: ${{ secrets.REGISTRY_TOKEN }} + - uses: docker/build-push-action@v3 + with: + context: ./applications/puppeteer + file: ./applications/puppeteer/Dockerfile + platforms: linux/amd64 + push: true + tags: | + git.anomalous.dev/57_wolve/container:node-puppeteer \ No newline at end of file