Files
whatsapp_bot/.gitea/workflows/build.yml
josedario87 c72ce971b5
Some checks failed
build-and-push / build (push) Has been cancelled
"av er
2025-05-02 13:37:16 -06:00

32 lines
755 B
YAML

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 }}