distrobox/.gitea/workflows/jetbrains.yml
Snoweuph 859349dccf
All checks were successful
Build Jetbrains Distrobox Images / build_jetbrains (go) (push) Successful in 4m9s
Build Jetbrains Distrobox Images / build_jetbrains (symfony) (push) Successful in 2m27s
Add Go & cleanup
2024-07-29 23:01:38 +02:00

39 lines
1.3 KiB
YAML

name: "Build Jetbrains Distrobox Images"
on:
push:
branches:
- 'main'
jobs:
build_jetbrains:
runs-on: 'priviliged'
strategy:
matrix:
toolchain: [symfony, go]
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 screen highlight
tags: |
git.euph.dev/development_tools/distrobox/jetbrains/${{ matrix.toolchain }}:latest
git.euph.dev/development_tools/distrobox/jetbrains/${{ matrix.toolchain }}:${{ gitea.run_number }}