From 7e15338640540022e3d31cd2f9c6689508dad97d Mon Sep 17 00:00:00 2001 From: Nigel Banks Date: Sat, 22 Jul 2023 08:22:17 +0100 Subject: [PATCH] Attempt to prevent the package action from using the very latest format of docker compose. --- .github/workflows/package.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 94f36ad..5447a4e 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -12,12 +12,18 @@ jobs: - name: Checkout uses: actions/checkout@v3 - name: Remove build from docker-compose.yml - uses: mikefarah/yq@v4.33.3 + uses: mikefarah/yq@v4.34.2 with: cmd: yq -i 'del(.services.drupal.build)' docker-compose.yml - - name: Create zip + - name: Create docker-compose.yml run: | TAG=${{ github.event.release.tag_name }} docker compose config > package/docker-compose.yml + - name: Remove required from docker-compose.yml + uses: mikefarah/yq@v4.34.2 + with: + cmd: yq -i 'del(.services.traefik.depends_on.*.required)' package/docker-compose.yml + - name: Create zip + run: | mv package islandora-sandbox-${{ github.event.release.tag_name }} zip -r islandora-sandbox.${{ github.event.release.tag_name }}.zip islandora-sandbox-${{ github.event.release.tag_name }}/* - name: Attach zip to Release