Create build.yml #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docker Check | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout do C贸digo | |
| uses: actions/checkout@v4 | |
| # Aqui entra a action que voc锚 enviou, mas de forma simplificada | |
| - name: Configurar Docker | |
| uses: docker/setup-docker-action@v4 | |
| with: | |
| rootless: true # Mais seguro para workflows de bot | |
| - name: Build da LuaBot | |
| run: | | |
| docker build -t luabot:latest . |