Don't publish docker image for commit to main (#2751)
The usage is non existent for images on every commit. We still publish images for tags, just not for every commit. <!-- Insert PR description--> --- #### Does this PR need a docs update or release note? - [ ] ✅ Yes, it's included - [ ] 🕐 Yes, but in a later PR - [x] ⛔ No #### Type of change <!--- Please check the type of change your PR introduces: ---> - [ ] 🌻 Feature - [ ] 🐛 Bugfix - [ ] 🗺️ Documentation - [ ] 🤖 Test - [x] 💻 CI/Deployment - [ ] 🧹 Tech Debt/Cleanup #### Issue(s) <!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. --> * #<issue> #### Test Plan <!-- How will this be tested prior to merging.--> - [x] 💪 Manual - [ ] ⚡ Unit test - [ ] 💚 E2E
This commit is contained in:
parent
f4c6e65fa3
commit
2d5637e6a3
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -467,7 +467,7 @@ jobs:
|
||||
needs: [Test-Suite-Trusted, Linting, Website-Linting, SetEnv]
|
||||
environment: ${{ needs.SetEnv.outputs.environment }}
|
||||
runs-on: ubuntu-latest
|
||||
if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/main'
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
defaults:
|
||||
run:
|
||||
working-directory: build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user