Skip to content

Conversation

@DiamondJoseph
Copy link
Contributor

@DiamondJoseph DiamondJoseph commented Nov 4, 2025

Making a PR so I can publish from a fork under my own namespace and ensure this behaves how I expect

@DiamondJoseph DiamondJoseph changed the base branch from main to add-helm November 4, 2025 11:20
@DiamondJoseph DiamondJoseph changed the title Helm push refactor: Adjust Helm push Nov 4, 2025
Comment on lines +36 to +38
push: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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


Run docker/build-push-action@v6
  with:
    push: false
    tags: ghcr.io/diamondlightsource/glazed:latest

From this PR (i.e. non-tag/release run) we would no longer publish on non-tagged commits but still build the container to ensure the Dockerfile is still valid.

The PCT has a stage to run the container and make sure it starts also? Should we have an issue for a command that returns immediately (e.g. glazed --version) to check that the config is preset and the executable is available?

Copy link
Contributor

Choose a reason for hiding this comment

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

As in an issue to add this as a build step? glazed --version already exists as a command (cargo run -- --version)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added the build step, see the CI run for this PR

Run docker run --rm test_tag --version
glazed 0.1.0

@DiamondJoseph DiamondJoseph marked this pull request as draft November 4, 2025 12:20
@DiamondJoseph DiamondJoseph marked this pull request as ready for review November 4, 2025 13:04
Copy link
Contributor

@dan-fernandes dan-fernandes left a comment

Choose a reason for hiding this comment

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

LGTM

@DiamondJoseph DiamondJoseph merged commit 60b42b2 into DiamondLightSource:add-helm Nov 7, 2025
5 checks passed
@DiamondJoseph DiamondJoseph deleted the helm-push branch November 7, 2025 11:36
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