Files
drath.cc/.gitea/workflows/build.yaml
Drath Vader 40534db618
All checks were successful
Build and Push Docker Image / build (push) Successful in 14s
Update .gitea/workflows/build.yaml
2026-08-11 11:13:23 +02:00

22 lines
533 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: Build image
run: docker build -t ${{ vars.OCI_REGISTRY }}/${{ gitea.repository }}:latest . --no-cache
- name: Push image
run: |
echo "${{ secrets.OCI_PASSWD }}" | docker login ${{ vars.OCI_REGISTRY }} -u gitea --password-stdin
docker push ${{ vars.OCI_REGISTRY }}/${{ gitea.repository }}:latest