Files
k8s-pilot/.gitea/workflows/build.yml
T
dev 0658c9e810
Build & Push / build (push) Failing after 1s
fix: manual git clone statt actions/checkout
2026-06-07 11:32:23 +02:00

22 lines
572 B
YAML

name: Build & Push
on:
push:
branches: [main]
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout
run: |
git clone https://gitea.it-microevo.com/Dev/k8s-pilot.git .
- name: Login to Gitea Registry
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login gitea.it-microevo.com -u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: Build & Push
run: |
docker build -t gitea.it-microevo.com/Dev/k8s-pilot:latest .
docker push gitea.it-microevo.com/Dev/k8s-pilot:latest