Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docker] remove (redundant) chmod and testable workflows (#1710)
## Description * Removes the redundant `chown` from step 12, relying on the final one in step 20. * Adds new workflow inputs * guild_deploy_branch which defaults to master * testing which defaults to false * Conditional logic on the push operation * If branch is master and testing is false, the push will occur. * If branch is master but testing is true, the push will not occur * If branch is NOT master, but testing is falase, the push will not occur (prevents mistaken test from updating the public images). ## Where should the reviewer start? Compare the two builds. Try a workflow dispatch with testing true, and with branch not set to master. ## Motivation and context An error in build process when no shell scripts exist in `/home/guild/.scripts/` when the operation occurs. Allows testing of the branches for docker building similar to pre-merge testing of changes to guild-deploy.sh etc. ## Which issue it fixes? Closes #1709 ## How has this been tested? Local build, and [workflow job](https://github.com/cardano-community/guild-operators/actions/runs/6996999037/job/19033480048)
- Loading branch information