From 665fefe1d8509a87431c1862df2a2ef1a5f034fc Mon Sep 17 00:00:00 2001 From: Guillaume Lapierre Date: Tue, 12 Nov 2024 11:46:26 +0100 Subject: [PATCH] build: use needs-updating condition --- .gitea/workflows/nightly.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/nightly.yaml b/.gitea/workflows/nightly.yaml index d8255ec..d4c9d2a 100644 --- a/.gitea/workflows/nightly.yaml +++ b/.gitea/workflows/nightly.yaml @@ -28,17 +28,17 @@ jobs: with: base-image: roundcube/roundcubemail:latest-apache image: zeguigui/roundcubemail:latest-apache - - name: Needs updating - run: echo "Needs updating ${{ steps.checkupdate.outputs.needs-updating }}" - name: Set up docker buildx uses: docker/setup-buildx-action@v3 with: driver-opts: | network=giteanet + if: steps.checkupdate.outputs.needs-updating == 'true' - name: Build and push version uses: docker/build-push-action@v5 env: ACTIONS_RUNTIME_TOKEN: '' with: push: true - tags: zeguigui/roundcubemail:latest-apache \ No newline at end of file + tags: zeguigui/roundcubemail:latest-apache + if: steps.checkupdate.outputs.needs-updating == 'true'