Skip to content

Updated publish action#1322

Merged
josephjclark merged 1 commit intomainfrom
updated-publish-action
Mar 19, 2026
Merged

Updated publish action#1322
josephjclark merged 1 commit intomainfrom
updated-publish-action

Conversation

@josephjclark
Copy link
Collaborator

@josephjclark josephjclark commented Mar 19, 2026

A problem with github actions is that if mulitple tags are pushed at once, the "on tag" trigger doesn't work.

This PR attempts to fix that:

  • The Dockerize action always looks for the latest worker tag on dockerhub, checks if it exists, and if not, pushes it
  • The Publish action calls the Dockerize action

This should (finally) enable better automation of docker builds

Fixes #457

AI Usage

Please disclose whether you've used AI anywhere in this PR (it's cool, we just
want to know!):

  • I have used Claude Code
  • I have used another model
  • I have not used AI

You can read more details in our
Responsible AI Policy

@josephjclark josephjclark force-pushed the updated-publish-action branch from a538b29 to f27a5ea Compare March 19, 2026 17:14
@josephjclark josephjclark marked this pull request as ready for review March 19, 2026 17:14
@josephjclark
Copy link
Collaborator Author

QA to run after merging to main

  • If I push a tag, it'll build and deploy, as before
  • If I merge to main and auto-tag, it should build and deploy

Kinda hard to test both - I may have to build a fake version

@josephjclark josephjclark merged commit 4607014 into main Mar 19, 2026
6 checks passed
@josephjclark josephjclark deleted the updated-publish-action branch March 19, 2026 19:13
@josephjclark
Copy link
Collaborator Author

josephjclark commented Mar 19, 2026

So on merging to main, the unpublished docker tag (already on GH but had failed to build earlier) got itself built. Great.

I've just force-pushed the tag again - this should trigger the action but it should not publish the tag as it already exists

EDIT: this is the run but it doesn't look right? https://github.com/OpenFn/kit/actions/runs/23312532255/job/67803325126

Aha - but the tagged branch used the older action. Updating the tag and running against the new action works beautifully https://github.com/OpenFn/kit/actions/runs/23312774565

image

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.

So why are we having so much trouble with changeset tags?

1 participant