diff --git a/.github/workflows/docker_bin.yml b/.github/workflows/docker_bin.yml index 2158537e1..b82454414 100644 --- a/.github/workflows/docker_bin.yml +++ b/.github/workflows/docker_bin.yml @@ -7,6 +7,10 @@ on: description: 'Branch to deploy' required: false default: 'master' + testing: + description: 'Testing workflow' + required: false + default: 'false' push: paths: - 'files/docker/node/release-versions/cardano-node-latest.txt' @@ -48,6 +52,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