distrobox/.gitea/workflows/jetbrains.yml
Snoweuph 07aa0e17f8
All checks were successful
Build Jetbrains Distrobox Images / build_act (symfony) (push) Successful in 1m50s
Update
2024-07-27 23:49:29 +02:00

39 lines
1.3 KiB
YAML

name: "Build Jetbrains Distrobox Images"
on:
push:
branches:
- 'main'
jobs:
build_act:
runs-on: 'priviliged'
strategy:
matrix:
toolchain: [symfony]
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}}:jetbrains/${{ matrix.toolchain }}"
push: true
build-args: JETBRAINS_DEPENDENCIES=fuse fuse-libs libXi libXrender libXtst fontconfig gtk3 tar dbus-libs git just jq fzf
tags: |
git.euph.dev/development_tools/distrobox/jetbrains/${{ matrix.toolchain }}:latest
git.euph.dev/development_tools/distrobox/jetbrains/${{ matrix.toolchain }}:${{ gitea.run_number }}