Files
drath.cc/.gitea/workflows/build.yaml
Drath 53fb4eee88
All checks were successful
Build and Push Docker Image / build (push) Successful in 5s
now?
2026-04-22 23:30:03 +02:00

23 lines
501 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 drath --password-stdin
- name: Build image
run: docker build -t git.drath.cc/drath/drath.cc:latest .
- name: Push image
run: docker push git.drath.cc/drath/drath.cc:latest