actions test
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s

This commit is contained in:
2026-04-22 23:08:29 +02:00
parent 93237fa880
commit ba05704e51

View File

@@ -0,0 +1,22 @@
name: Build and Push Docker Image
on:
push:
branches: [ main ]
jobs:
build:
runs-on: docker
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
run: echo "5ecac21d617f954cf1eace800e8958eba621625b" | docker login http://gitea:3000 -u drath --password-stdin
- name: Build image
run: docker build -t gitea:3000/drath/drath.cc:latest .
- name: Push image
run: docker push gitea:3000/drath.cc/drath.cc:latest