Skip to content

ci: build a docker image and push to ghcr registry#11

Merged
brendan-myers merged 1 commit intotemporal-sa:mainfrom
mrsimonemms:sje/build-docker
Jul 31, 2025
Merged

ci: build a docker image and push to ghcr registry#11
brendan-myers merged 1 commit intotemporal-sa:mainfrom
mrsimonemms:sje/build-docker

Conversation

@mrsimonemms
Copy link
Copy Markdown
Contributor

Builds the Docker image and pushes to the local registry.

Rules:

  • if tag (in format v*.*.*), build and pushes:
    • linux/amd64 and linux/arm64 images
    • latest tag
    • versioned tag (eg, for Git tag v1.2.3, creates :1.2.3
    • tag with commit's SHA
  • if non-tag, builds:
    • linux/amd64 image
    • tag with commit's SHA
    • only pushes if in main branch

@mrsimonemms
Copy link
Copy Markdown
Contributor Author

Only one potential issue here about the GHCR push rights - I think I've got it right, based on previous things I've used, but I'm not 100% certain. I can't test as I don't have write access to the temporal-sa org.

If it's broken on merge, I'll fix.

@mrsimonemms mrsimonemms marked this pull request as ready for review July 30, 2025 10:56
@brendan-myers brendan-myers merged commit eb92eae into temporal-sa:main Jul 31, 2025
2 checks passed
@mrsimonemms mrsimonemms deleted the sje/build-docker branch July 31, 2025 07:47
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