runner-images/.gitea/workflows/release.yml

30 lines
872 B
YAML
Raw Normal View History

2024-02-06 22:56:18 +00:00
name: CI
on:
push:
branches:
- 'master'
jobs:
2024-02-10 17:26:10 +00:00
build:
2024-02-06 22:56:18 +00:00
runs-on: 'ubuntu-latest'
steps:
2024-02-10 16:56:19 +00:00
- name: Install Docker
run: curl -fsSL https://get.docker.com | sh
2024-02-10 16:36:53 +00:00
- name: Set up QEMU
uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3'
2024-02-06 22:56:18 +00:00
- 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
uses: 'https://git.euph.dev/actions/docker-build-push@v5'
with:
2024-02-10 17:08:15 +00:00
context: "{{defaultContext}}:images/actions/act"
2024-02-10 16:49:12 +00:00
push: true
2024-02-10 17:21:45 +00:00
tags: |
2024-02-10 21:36:44 +00:00
git.euph.dev/actions/runner-basic:latest