Closed NiceAesth closed 10 months ago
how exactly is it destructive? it is pushing as an artifact to the job itself. do you mean by loading the artifact into your setup? i'd argue that is entirely on the user
also, this was done and discussed with @cmyui as future actions could ingest the already built artifact from the job and use it for other checks.
it already only pushes to docker registry if the change is on master.
no, because it uploads to dockerhub..?
no, because it uploads to dockerhub..?
please attempt to read the entire action i have nothing more to add lol https://github.com/osuAkatsuki/bancho.py/blob/291c0b71b499382cdda224781d62cdf601bb894a/.github/workflows/docker-build.yaml#L50C1-L50C53
step1 builds to action cache and artifact. step2 which is only ran on master pushes to hub
ok it should be fine then, i think the order of steps in this workflow is a little odd though
ok it should be fine then, i think the order of steps in this workflow is a little odd though
yeah was debating moving login right before the docker hub push, maybe another time
secrets are not available to users without write access to the repo as they are currently configured. with this change this should not be an issue anymore as if you are pushing to master you have write access anyway. we didn't need login unless we were going to build.
Describe your changes
Related Issues / Projects
Checklist
make lint
)