From c72ce971b5851dbbe5be80db81ec86d8c2749fb5 Mon Sep 17 00:00:00 2001 From: josedario87 Date: Fri, 2 May 2025 13:37:16 -0600 Subject: [PATCH] "av er --- .gitea/workflows/build.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..05b8062 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,31 @@ +name: build-and-push + +on: + push: + branches: [ main ] + +jobs: + build: + runs-on: docker + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to registry + uses: docker/login-action@v2 + with: + registry: gitea.interno.com:3000 + username: nucleo000 + password: 389622c4fa9992ae401b989f1797f8715034f62e + + - name: Build & push + uses: docker/build-push-action@v4 + with: + context: ./nucleo-bot + push: true + tags: | + gitea.interno.com:3000/nucleo000/whatsapp_bot:latest + gitea.interno.com:3000/nucleo000/whatsapp_bot:${{ github.sha }}