paritytech / cachepot

cachepot is `sccache` with extra sec, which in turn is `ccache` with cloud storage
https://cachepot.cc
Apache License 2.0
171 stars 13 forks source link

CI: fix publishing #81

Closed TriplEight closed 3 years ago

TriplEight commented 3 years ago

paritytech dockerhub creds are protected to use on protected branches only, thus this job should only be executed only on master branch. Or in some rare cases, you can return the line

     - if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/                         # PRs

and protect the branch you want to experiment on. Also won't hurt to add an experimental tag to the image to not to mess production.

Xanewok commented 3 years ago

The gitlab-publish-sccache-dist is failing again - that's weird, I'd expect the CI to run with changes already included in the PR... maybe it's done differently due to pull mirroring or something, idk. I'll merge this as-is, thanks!

TriplEight commented 3 years ago

fixed here https://github.com/paritytech/sccache/pull/82