From 9ce5b6e6eaa9094552e75aefbcf67e51178aebb4 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Wed, 4 Sep 2024 12:40:27 +0200 Subject: [PATCH] tweaks to build workflow --- .github/workflows/release.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dd605d0c..c1166cef 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,6 +69,7 @@ jobs: needs: build-artifact steps: - name: Retrieve release distributions + if: ${{ github.event.release.prerelease == false }} uses: actions/download-artifact@v4 with: name: release-dists @@ -125,7 +126,9 @@ jobs: ghcr.io/${{ github.repository_owner }}/server:stable, ghcr.io/${{ github.repository_owner }}/server:latest push: true - build-args: "MASS_VERSION=${{ needs.build-artifact.outputs.version }},BASE_IMAGE_VERSION=${{env.BASE_IMAGE_VERSION_STABLE}}" + build-args: | + MASS_VERSION=${{ needs.build-artifact.outputs.version }} + BASE_IMAGE_VERSION=${{ env.BASE_IMAGE_VERSION_STABLE} }} - name: Build and Push pre-release uses: docker/build-push-action@v6.7.0 if: ${{ github.event.release.prerelease == true }} @@ -137,7 +140,9 @@ jobs: ghcr.io/${{ github.repository_owner }}/server:${{ steps.tags.outputs.patch }}, ghcr.io/${{ github.repository_owner }}/server:beta push: true - build-args: "MASS_VERSION=${{ needs.build-artifact.outputs.version }},BASE_IMAGE_VERSION=${{env.BASE_IMAGE_VERSION_BETA}}" + build-args: | + MASS_VERSION=${{ needs.build-artifact.outputs.version }} + BASE_IMAGE_VERSION=${{ env.BASE_IMAGE_VERSION_BETA} }} release-notes-update: name: Updates the release notes and changelog -- 2.34.1