Add apko container definition, build workflow, and gitignore. Added container helper base image

This commit is contained in:
2026-01-23 10:41:21 +01:00
commit 9bc465fffd
3 changed files with 129 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
name: "Build base apps"
on:
push:
branches:
- "main"
paths:
- "applications/**"
workflow_dispatch:
env:
REGISTRY: "git.battlestati.one"
jobs:
build:
runs-on: linux_amd64
strategy:
matrix:
include:
- section: "app_base"
name: "container_helper"
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Login into docker registry"
run: echo "${{ secrets.RELEASE_TOKEN }}" | docker login ghcr.io -u ${{ gitea.actor }} --password-stdin
- name: "Build apko image"
run: |
docker run \
-v ~/.docker/config.json:/root/.docker/config.json:ro \
-v "$PWD":/work \
cgr.dev/chainguard/apko publish \
${{ matrix.section }}/${{ matrix.name }}/apko.yml \
${{ env.REGISTRY }}/moonlight-panel/${{ matrix.section }}/${{ matrix.name }}