Skip to content

Mismatch between explanation and code about triggers used #33777

Closed
@carlos-quintero

Description

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?

  1. 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]
  1. 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

Metadata

Assignees

No one assigned

    Labels

    actionsThis issue or pull request should be reviewed by the docs actions teamcontentThis issue or pull request belongs to the Docs Content teamhelp wantedAnyone is welcome to open a pull request to fix this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions