runner-images/.gitea/workflows/base.yml
Snoweuph 8aabe59ee8
All checks were successful
CI / build_act (push) Successful in 1m15s
.gitea/workflows/base.yml aktualisiert
2024-05-09 19:56:02 +00:00

33 lines
1,020 B
YAML

name: CI
on:
push:
branches:
- 'master'
jobs:
build_act:
runs-on: 'priviliged'
steps:
- name: Install Docker
run: |
rm $(which docker) && curl -fsSL https://get.docker.com | sh
- name: Set up QEMU
uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3'
- name: Setup Buildx
uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3'
- name: Login to Registry
uses: 'https://git.euph.dev/actions/docker-login@v3'
with:
registry: git.euph.dev
username: ${{ secrets.DEPLOY_USER }}
password: ${{ secrets.DEPLOY_SECRET }}
- name: Build and push act base image
id: build_act_base
uses: 'https://git.euph.dev/actions/docker-build-push@v5'
with:
context: "{{defaultContext}}:images/actions/act"
push: true
tags: |
git.euph.dev/actions/runner-basic:latest
git.euph.dev/actions/runner-basic:${{ gitea.run_number }}