From 5117069a6e40dd914616066d8695d681828f82bc Mon Sep 17 00:00:00 2001 From: Davide Porrovecchio Date: Fri, 23 Dec 2022 14:14:08 +0100 Subject: [PATCH] Fix gh pipeline --- .github/workflows/publish-prerelease.yml | 3 +++ .github/workflows/publish-release.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/publish-prerelease.yml b/.github/workflows/publish-prerelease.yml index 3f78a7ec5..20fb30433 100644 --- a/.github/workflows/publish-prerelease.yml +++ b/.github/workflows/publish-prerelease.yml @@ -16,6 +16,9 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v2 + - name: Prepare files + if: success() + run: cp ${{ github.workspace }}/containers/queue-worker/supervisord.conf ${{ github.workspace }} - name: Build image if: success() run: docker build --no-cache --rm -f ${{ github.workspace }}/Dockerfile.portal --build-arg PHP_VERSION=$PHP_VERSION -t $ORGANIZATION/$IMAGE_NAME:$IMAGE_TAG ${{ github.workspace }} diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 165e7031d..e8d9f6d8f 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -18,6 +18,9 @@ jobs: run: echo "RELEASE_TAG=$(echo ${{ github.ref }} | cut -c11-)" >> $GITHUB_ENV - name: Checkout code uses: actions/checkout@v2 + - name: Prepare files + if: success() + run: cp ${{ github.workspace }}/containers/queue-worker/supervisord.conf ${{ github.workspace }} - name: Build image if: success() run: docker build --no-cache --rm -f ${{ github.workspace }}/Dockerfile.portal --build-arg PHP_VERSION=$PHP_VERSION -t $ORGANIZATION/$IMAGE_NAME:$IMAGE_TAG ${{ github.workspace }}