Files
cnstiout 1cbeb4a0f9
Build and publish Docker image / docker (push) Waiting to run
Initial Botsu Cloud portal
2026-06-30 17:25:18 +02:00

31 lines
712 B
YAML

name: Build and publish Docker image
on:
push:
branches:
- main
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea registry
uses: docker/login-action@v3
with:
registry: git.botsu.cloud
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
git.botsu.cloud/${{ github.repository }}:latest
git.botsu.cloud/${{ github.repository }}:${{ github.sha }}