Rym_Infrastructure/.gitea/workflows/ci.yml

26 lines
657 B
YAML

name: Build & Push DevSecOps Runner
on:
push:
branches: [ main ]
jobs:
build-and-push-runner:
name: Build & Publish Runner Image to Giteastry
runs-on: host
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Login to Giteastry
run: |
echo "${{ secrets.GITEA_TOKEN }}" | podman login container.rym.local -u ${{ gitea.actor }} --password-stdin
- name: Build Runner Image
run: |
podman build -t container.rym.local/rym/devsecops-runner:latest .
- name: Push to Giteastry
run: |
podman push container.rym.local/rym/devsecops-runner:latest