Skip to content

Commit

Permalink
Attempt to prevent the package action from using the very latest form…
Browse files Browse the repository at this point in the history
…at of docker compose.
  • Loading branch information
nigelgbanks committed Jul 22, 2023
1 parent dde5a80 commit 7e15338
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7e15338

Please sign in to comment.