distrobox/.gitea/workflows/Jetbrains.yml

40 lines
1.3 KiB
YAML
Raw Normal View History

2024-07-27 18:21:30 +00:00
2024-07-27 21:46:32 +00:00
name: "Build Jetbrains Devcontainers"
2024-07-27 18:21:30 +00:00
on:
push:
branches:
- 'main'
2024-07-27 18:21:30 +00:00
jobs:
build_act:
runs-on: 'priviliged'
2024-07-27 21:46:32 +00:00
strategy:
matrix:
toolchain: [symfony]
2024-07-27 18:21:30 +00:00
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:
2024-07-27 21:46:32 +00:00
context: "{{defaultContext}}:jetbrains/${{ matrix.toolchain }}"
2024-07-27 18:21:30 +00:00
push: true
2024-07-27 21:46:32 +00:00
build-args: JETBRAINS_DEPENDENCIES="fuse fuse-libs libXi libXrender libXtst fontconfig gtk3 tar dbus-libs git just jq fzf"
2024-07-27 18:21:30 +00:00
tags: |
2024-07-27 21:46:32 +00:00
git.euph.dev/development_tools/distrobox/jetbrains/${{ matrix.toolchain }}:latest
git.euph.dev/development_tools/distrobox/jetbrains/${{ matrix.toolchain }}:${{ gitea.run_number }}
2024-07-27 21:36:23 +00:00