mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Tweak workflow to skip attempting to push the docker image without credentials additionally modify to allow the dockerhub organization to be managed via a secret so that forked repos may push locally modified images to their own dockerhub with a minimum of effort. Additionally given the way github status checks works, this should allow maintainers of this project to push the same commit to a local branch in order to build and publish the image to the org dockerhub repository to allow testing of the image before merging. Based on having first reviewed and decided it was safe to allow access to any secrets. Pushing the PR to a local branch will not result in getting a tag with the pr<num> as the version, however this is a reasonable starting position.