Skip to content

ci: manual build+push of the latest main image (workflow_dispatch)#524

Closed
Zheaoli wants to merge 1 commit into
mainfrom
ci/manual-deploy-main
Closed

ci: manual build+push of the latest main image (workflow_dispatch)#524
Zheaoli wants to merge 1 commit into
mainfrom
ci/manual-deploy-main

Conversation

@Zheaoli

@Zheaoli Zheaoli commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator

What

Adds a workflow_dispatch trigger to build-main.yaml so the multi-arch :latest image can be built and pushed manually from the chosen branch (default main), without cutting a v* tag first. Scope per request: just manually build+push a main image (same buildx → Docker Hub flow; no server-deploy step added).

on:
  push:
    tags:
      - 'v*'
  workflow_dispatch:

Notes

  • This workflow pushes a hardcoded :latest tag and does not consume the Get Version step's output, so a manual (non-tag) run needs no version handling — the deprecated ${GITHUB_REF#refs/tags/} would resolve to a branch ref on dispatch, but it's unused here, so :latest is simply built from the selected branch's code. (Left the unused step as-is to keep this change minimal; can remove separately if desired.)
  • The existing v* tag trigger is unchanged.
  • Not touching build-release.yaml (the versioned image): a manual run there would need a version input since its tag does use Get Version. Out of scope unless wanted.

The latest-image workflow only triggered on `v*` tag pushes, so deploying the
current main meant cutting a tag. Add a `workflow_dispatch` trigger so it can be
run manually from the chosen branch (default main) to build and push the
multi-arch `:latest` image on demand.

This workflow pushes a hardcoded `:latest` tag and does not use the `Get Version`
step's output, so a manual (non-tag) run needs no version handling — `:latest`
is built from the selected branch's code as-is. The existing tag trigger is
unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
picimpact Building Building Preview, Comment Jun 10, 2026 1:34pm

@Zheaoli

Zheaoli commented Jun 10, 2026

Copy link
Copy Markdown
Collaborator Author

Closing — this is Impl's CI lane and they're already on it with a cleaner version (also removes the vestigial Get Version step). Superseded by their upcoming PR.

@Zheaoli Zheaoli closed this Jun 10, 2026
@Zheaoli Zheaoli deleted the ci/manual-deploy-main branch June 10, 2026 13:34
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.

1 participant