From df403c178d03ba206422d6268eac59effcf84320 Mon Sep 17 00:00:00 2001 From: Marius Ghita Date: Thu, 12 Dec 2024 05:18:18 +0200 Subject: [PATCH 1/2] fix: re-enable review container publishing #9236 repo-ansible generated devcontainers use the *-review container images as their baseline. --- .github/workflows/production.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index a61dac5..ad6452f 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -54,6 +54,13 @@ jobs: - name: Push with commit ${{ matrix.php }} tag run: docker push ghcr.io/${{ env.CI_REPOSITORY_OWNER_SLUG }}/${{ env.CI_REPOSITORY_NAME }}:${{ matrix.php }} + #review containers + - name: Build the review container image + run: docker build . --tag ghcr.io/${{ github.repository_owner }}/${{ env.CI_REPOSITORY_NAME }}:${{ matrix.php }}-review --file Dockerfile.${{ matrix.php }}-review + - name: Push with commit *-review tag + run: docker push ghcr.io/${{ github.repository_owner }}/${{ env.CI_REPOSITORY_NAME }}:${{ matrix.php }}-review + + cleanup: needs: [build] runs-on: ubuntu-latest From c90fa499bca27511f1a046e7e83e698cd1a9e0ab Mon Sep 17 00:00:00 2001 From: Joost Faassen Date: Thu, 12 Dec 2024 10:00:25 +0100 Subject: [PATCH 2/2] fix: casing in repo owner name Co-authored-by: Ayesh Karunaratne --- .github/workflows/production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index ad6452f..9776dd0 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -58,7 +58,7 @@ jobs: - name: Build the review container image run: docker build . --tag ghcr.io/${{ github.repository_owner }}/${{ env.CI_REPOSITORY_NAME }}:${{ matrix.php }}-review --file Dockerfile.${{ matrix.php }}-review - name: Push with commit *-review tag - run: docker push ghcr.io/${{ github.repository_owner }}/${{ env.CI_REPOSITORY_NAME }}:${{ matrix.php }}-review + run: docker push ghcr.io/${{ env.CI_REPOSITORY_OWNER_SLUG }}/${{ env.CI_REPOSITORY_NAME }}:${{ matrix.php }}-review cleanup: