Files
cavepediav2/.gitea/workflows/build-push-discord.yaml
Paul Walko 0cd17238d0
All checks were successful
Build and Push Discord Bot Docker Image / build (push) Successful in 1m5s
discord bot
2025-12-26 16:21:28 +01:00

34 lines
766 B
YAML

name: Build and Push Discord Bot Docker Image
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'discord/**'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Container Registry
uses: docker/login-action@v3
with:
registry: git.seaturtle.pw
username: ${{ gitea.actor }}
password: ${{ secrets.ACTIONS_PUSH_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push
uses: docker/build-push-action@v6
with:
context: ./discord
push: true
tags: git.seaturtle.pw/cavepedia/cavepediav2-discord:latest