Mismatch between explanation and code about triggers used #33777
Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
Publishing Docker images (https://docs.github.com/en/actions/publishing-packages/publishing-docker-images)
What part(s) of the article would you like to see updated?
- In the section "Publishing images to Docker Hub" it says:
The workflow in the example below runs when the release event triggers with the created activity type.
while the code uses the published activity type:
on:
release:
types: [published]
- In the section Publishing images to GitHub Packages is says:
The workflow in the example below runs when the release event triggers with the created activity type.
while the code uses a push trigger:
on:
push:
branches: ['release']
Additional information
No response