Files
drath.cc/.gitea/workflows/build.yaml
Drath 254604fdee
All checks were successful
Build and Push Docker Image / build (push) Successful in 13s
huh
2026-04-23 00:05:29 +02:00

23 lines
543 B
YAML

name: Build and Push Docker Image
on:
push:
branches: [ v3 ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea Registry
run: echo "${{ vars.OCI_ACCESS_TOKEN }}" | docker login git.drath.cc -u ${{ gitea.actor }} --password-stdin
- name: Build image
run: docker build -t git.drath.cc/${{ gitea.repository }}:latest . --no-cache
- name: Push image
run: docker push git.drath.cc/${{ gitea.repository }}:latest