github -> gitea
All checks were successful
Build and Push Docker Image / build (push) Successful in 39s

This commit is contained in:
Pihkaal
2025-12-22 15:44:11 +01:00
parent 1cbd752977
commit 877402090f
3 changed files with 33 additions and 29 deletions

View File

@@ -0,0 +1,29 @@
name: Build and Push Docker Image
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
registry: git.pihkaal.xyz
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push Docker image
run: |
docker build -t git.pihkaal.xyz/pihkaal/lbf-bot:latest -f apps/discord-bot/Dockerfile .
docker push git.pihkaal.xyz/pihkaal/lbf-bot:latest