From c29187c0bf2d9538eda717964f557e0b6c128d4f Mon Sep 17 00:00:00 2001 From: TrevorBenson Date: Sun, 26 Nov 2023 09:04:57 -0800 Subject: [PATCH] Skip pushing to registries if testing the workflow --- .github/workflows/docker_bin.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docker_bin.yml b/.github/workflows/docker_bin.yml index 7c7f1d565..a56fe0bf6 100644 --- a/.github/workflows/docker_bin.yml +++ b/.github/workflows/docker_bin.yml @@ -53,6 +53,7 @@ jobs: sudo rm -rf "/usr/local/share/boost" sudo rm -rf "$AGENT_TOOLSDIRECTORY" - name: docker push latest + if: env.testing == 'false' && env.guild_deploy_branch == 'master' run: | CNVERSION=`cat files/docker/node/release-versions/cardano-node-latest.txt` docker push ${{ env.REGISTRY }}/${{ secrets.DOCKER_USER }}/cardano-node:latest