From fa2535d3dbd3d4e99ab6b5776b3b54bdd311f736 Mon Sep 17 00:00:00 2001 From: JoshuaLicense Date: Fri, 5 Apr 2024 17:56:49 +0100 Subject: [PATCH] ci: always build Docker images on release --- .github/workflows/cd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 32b2854..5f8e4c5 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -58,8 +58,8 @@ jobs: - php/7.4/fpm-nginx - php/8.0/fpm-nginx exclude: - - base: ${{ contains(needs.orchestrator.outputs.changed-directories, 'php/7.4/fpm-nginx') && 'ignored' || 'php/7.4/fpm-nginx' }} - - base: ${{ contains(needs.orchestrator.outputs.changed-directories, 'php/8.0/fpm-nginx') && 'ignored' || 'php/8.0/fpm-nginx' }} + - base: ${{ needs.release-please.outputs.release_created || contains(needs.orchestrator.outputs.changed-directories, 'php/7.4/fpm-nginx') && 'ignored' || 'php/7.4/fpm-nginx' }} + - base: ${{ needs.release-please.outputs.release_created || contains(needs.orchestrator.outputs.changed-directories, 'php/8.0/fpm-nginx') && 'ignored' || 'php/8.0/fpm-nginx' }} uses: ./.github/workflows/docker.yaml with: version: ${{ needs.release-please.outputs.tag_name }}