Files
drath.cc/.gitea/workflows/build.yaml
Drath Vader 0fd807162a
Some checks failed
Build and Push Docker Image / build (push) Failing after 13s
oci
2026-08-11 11:11:29 +02:00

22 lines
521 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 git.drath.cc/${{ 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