Skip to content

Refactor container publishing#860

Merged
SuperQ merged 1 commit into
masterfrom
superq/fixup_docker_publish
Jun 8, 2026
Merged

Refactor container publishing#860
SuperQ merged 1 commit into
masterfrom
superq/fixup_docker_publish

Conversation

@SuperQ

@SuperQ SuperQ commented Jun 8, 2026

Copy link
Copy Markdown
Member
  • Simplify build and publish into a single workflow.
  • Use docker/metadata-action to generate container tags.
  • Skip publish on pull_request.

* Simplify build and publish into a single workflow.
* Use `docker/metadata-action` to generate container tags.
* Skip publish on `pull_request`.

Signed-off-by: SuperQ <superq@gmail.com>
@SuperQ SuperQ requested review from ArthurSens and dhoard June 8, 2026 16:56

@ArthurSens ArthurSens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have the impressions that we're gonna try to push without performing a login on pull requests

Comment on lines +80 to +81
- name: Build and publish container
id: publish

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

don't we need to add the conditional if: github.event_name != 'pull_request' to avoid trying to push on pull requests as well?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

See line 86, it's a neat trick with the action inputs.

          push: ${{ github.event_name != 'pull_request' }}

@SuperQ

SuperQ commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

I added if skips for the PR for the logins.

@ArthurSens

Copy link
Copy Markdown
Member

LGTM

@SuperQ SuperQ merged commit abb5762 into master Jun 8, 2026
3 checks passed
@SuperQ SuperQ deleted the superq/fixup_docker_publish branch June 8, 2026 21:04
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.

3 participants