Compare commits

..

2 Commits

Author SHA1 Message Date
86b7cdb31d refactor: shrink container build
Some checks failed
Build containers / changes (push) Successful in 3s
Build containers / base-image (push) Successful in 1m14s
Build containers / dependent-images (go) (push) Successful in 40s
Build containers / dependent-images (infra) (push) Failing after 41s
Build containers / dependent-images (php) (push) Successful in 46s
2026-03-17 20:37:53 +01:00
056ff220c5 ci: fix dependent images check 2026-03-17 20:37:39 +01:00
2 changed files with 9 additions and 2 deletions

View File

@@ -66,13 +66,20 @@ jobs:
dependent-images:
needs: [changes, base-image]
if: always() && needs.changes.result == 'success' && (needs.base-image.result == 'success' || needs.base-image.result == 'skipped') && (needs.changes.outputs[matrix.container] == 'true' || needs.changes.outputs.any_change == 'true')
if: always() && needs.changes.result == 'success' && (needs.base-image.result == 'success' || needs.base-image.result == 'skipped')
runs-on: job-v2
strategy:
fail-fast: false
matrix:
container: [infra, go, php]
steps:
- name: Check if build needed
id: check
run: |
if [[ "${{ matrix.container }}" == "infra" && "${{ needs.changes.outputs.infra }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
if [[ "${{ matrix.container }}" == "go" && "${{ needs.changes.outputs.go }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
if [[ "${{ matrix.container }}" == "php" && "${{ needs.changes.outputs.php }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
if [[ "${{ needs.changes.outputs.any_change }}" == "true" ]]; then echo "run=true" >> $GITHUB_OUTPUT; fi
- name: Clone repo
if: steps.check.outputs.run == 'true'
uses: actions/checkout@v4

View File

@@ -5,7 +5,7 @@ RUN --mount=type=cache,id=dnf-cache,target=/var/cache/libdnf5 \
dnf update -y && \
dnf copr enable -y gierth/tools-golang && \
dnf copr enable -y agriffis/neovim-nightly && \
dnf -y --setopt=keepcache=1 install bash-completion glibc-minimal-langpack \
dnf -y --setopt=keepcache=1 --nodocs --setopt=install_weak_deps=False install bash-completion glibc-minimal-langpack \
host-spawn dbus-launch \
git npm neovim awk jq unzip lazygit lazydocker lazysql