Skip to content

publish all images to ghcr#28

Open
samos123 wants to merge 3 commits into
mainfrom
gha-publish-to-ghcr
Open

publish all images to ghcr#28
samos123 wants to merge 3 commits into
mainfrom
gha-publish-to-ghcr

Conversation

@samos123

@samos123 samos123 commented Aug 5, 2023

Copy link
Copy Markdown
Contributor

No description provided.

@samos123 samos123 changed the title publish base image to ghcr publish all images to ghcr Aug 12, 2023
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

@brandonjbjelland brandonjbjelland Aug 12, 2023

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Following what we did over on the core repo, it'd be good to add a conditional to any login jobs:

Suggested change
password: ${{ secrets.GITHUB_TOKEN }}
if: github.event_name != 'pull_request'
password: ${{ secrets.GITHUB_TOKEN }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll leave it to you to either do it here or in follow up 👍

@brandonjbjelland

Copy link
Copy Markdown
Contributor

I think this fits best in follow up (when we've confirmed the publish) but using the ghcr.io images in our FROM commands

@brandonjbjelland brandonjbjelland left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one comment but can also be done in follow up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants