2024-02-06 22:56:18 +00:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
docker:
|
|
|
|
runs-on: 'ubuntu-latest'
|
2024-02-10 16:36:53 +00:00
|
|
|
container:
|
|
|
|
image: "ghcr.io/catthehacker/ubuntu:act-latest"
|
2024-02-06 22:56:18 +00:00
|
|
|
steps:
|
2024-02-10 16:49:12 +00:00
|
|
|
- name: Checkout
|
|
|
|
uses: 'https://git.euph.dev/actions/checkout@v3'
|
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'
|
2024-02-10 16:51:13 +00:00
|
|
|
env:
|
|
|
|
ACTIONS_RUNTIME_TOKEN: ''
|
2024-02-06 22:56:18 +00:00
|
|
|
with:
|
2024-02-10 16:43:10 +00:00
|
|
|
context: images/actions/act
|
2024-02-10 16:49:12 +00:00
|
|
|
push: true
|
|
|
|
tags: user/act:latest
|