From 6eaae23b07373100d9c316e237943941c2878a34 Mon Sep 17 00:00:00 2001 From: jtkech Date: Thu, 7 Dec 2023 22:35:27 +0100 Subject: [PATCH] Docker Images Tweaks --- .github/workflows/preview_ci.yml | 4 ++-- .github/workflows/release_ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/preview_ci.yml b/.github/workflows/preview_ci.yml index 708a7a1c21c..961d8bf9b9a 100644 --- a/.github/workflows/preview_ci.yml +++ b/.github/workflows/preview_ci.yml @@ -62,9 +62,9 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - - name: Deploy preview docker image for linux and windows - shell: pwsh + - name: Deploy preview docker images if: matrix.os == 'ubuntu-latest' + shell: pwsh run: | Get-ChildItem ./src/OrchardCore.Cms.Web/App_Data -Recurse | Remove-Item -Recurse -Confirm:$false Get-ChildItem ./src/OrchardCore.Cms.Web/App_Data_Tests -Recurse | Remove-Item -Recurse -Confirm:$false diff --git a/.github/workflows/release_ci.yml b/.github/workflows/release_ci.yml index 4e91ce444e4..3d3d1c312e3 100644 --- a/.github/workflows/release_ci.yml +++ b/.github/workflows/release_ci.yml @@ -73,9 +73,9 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} - - name: Deploy release docker image for linux and windows - shell: pwsh + - name: Deploy release docker images if: matrix.os == 'ubuntu-latest' + shell: pwsh run: | Get-ChildItem ./src/OrchardCore.Cms.Web/App_Data -Recurse | Remove-Item -Recurse -Confirm:$false Get-ChildItem ./src/OrchardCore.Cms.Web/App_Data_Tests -Recurse | Remove-Item -Recurse -Confirm:$false