Add custom runner image with ansible, terraform, community.docker

This commit is contained in:
Ryan Moon
2026-03-31 18:29:15 -05:00
parent 7c2e44d8b6
commit 5c62f90b7f
4 changed files with 53 additions and 8 deletions

View File

@@ -0,0 +1,27 @@
name: Build Runner Image
on:
push:
branches: [main]
paths:
- 'runner/**'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to Gitea registry
run: echo "${{ secrets.GITEA_TOKEN }}" | docker login git.lunarfront.tech -u ryan --password-stdin
- name: Build and push
run: |
docker build -t git.lunarfront.tech/ryan/runner:latest runner/
docker push git.lunarfront.tech/ryan/runner:latest
- name: Logout
if: always()
run: docker logout git.lunarfront.tech