Skip to content

Conversation

mdtro
Copy link
Member

@mdtro mdtro commented Sep 19, 2025

Use the build_target option to publish a dev tagged image for use with devservices.

This will allow us to use the slimmer prod layer for production use cases that minimizes installed binaries to reduce attack surface -- while still allowing local development to use the dev tagged image with more debug tooling.

build_target: ${{ matrix.target }}
ghcr: true
tag_suffix: -${{ matrix.platform }}
tag_suffix: -${{ matrix.platform }}${{ matrix.target == 'prod' && '' || '-dev' }}
Copy link
Member

Choose a reason for hiding this comment

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

We can add publish_on_pr: true to test to see if this works before merging

Copy link
Member

Choose a reason for hiding this comment

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

Also, should we update devservices to use the dev version?

Copy link
Member

@IanWoodard IanWoodard left a comment

Choose a reason for hiding this comment

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

Looks good as a whole, left a few small comments

build_target: ${{ matrix.target }}
ghcr: true
tag_suffix: -${{ matrix.platform }}
tag_suffix: -${{ matrix.platform }}${{ matrix.target == 'prod' && '' || '-dev' }}
Copy link
Member

Choose a reason for hiding this comment

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

Also, should we update devservices to use the dev version?

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