Files
pipeline-actions/.gitea/workflows/build-images.yaml
Jose Henrique b41dfb68c6
All checks were successful
Build and Push Runner Images / Build Slim Runner Image (push) Successful in 10s
Build and Push Runner Images / Build Full Runner Image (push) Successful in 11s
fixing whitespaces
2026-07-13 21:20:37 -03:00

50 lines
1.3 KiB
YAML

name: Build and Push Runner Images
on:
push:
branches:
- main
paths:
- "images/**"
- ".gitea/workflows/build-images.yaml"
workflow_dispatch: {}
env:
SLIM_IMAGE: git.ivanch.me/ivanch/runner-images
FULL_IMAGE: git.ivanch.me/ivanch/runner-images
jobs:
build-slim:
name: Build Slim Runner Image
runs-on: ubuntu-amd64
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build and push slim image
uses: https://git.ivanch.me/ivanch/pipeline-actions/build-and-push@main
with:
image: ${{ env.SLIM_IMAGE }}
image_tag: slim
build_context: images/slim
build_dockerfile: Dockerfile
registry_password: ${{ secrets.REGISTRY_PASSWORD }}
ssh_key: ${{ secrets.SSH_KEY_DOCKERBUILD }}
build-full:
name: Build Full Runner Image
runs-on: ubuntu-amd64
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Build and push full image
uses: https://git.ivanch.me/ivanch/pipeline-actions/build-and-push@main
with:
image: ${{ env.FULL_IMAGE }}
image_tag: full
build_context: images/full
build_dockerfile: Dockerfile
registry_password: ${{ secrets.REGISTRY_PASSWORD }}
ssh_key: ${{ secrets.SSH_KEY_DOCKERBUILD }}