Skip to content

Commit ea11a06

Browse files
committed
ci: build all-in-one image from the local-mode branch to publish :latest
1 parent e0992e1 commit ea11a06

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/docker-allinone.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,12 @@ name: docker-allinone
1313
# (GHCR uses the built-in GITHUB_TOKEN — no extra secret.)
1414

1515
on:
16-
workflow_dispatch: {} # run on demand from the Actions tab / gh CLI
16+
workflow_dispatch: {} # run on demand once this lands on the default branch
1717
push:
18+
# TEMPORARY: build from the local-mode feature branch so we can publish a
19+
# usable :latest before this merges to main. After merge, drop the branch
20+
# entry and rely on workflow_dispatch + tags (latest then tracks default).
21+
branches: ["halleluyaholudele/hal-186-engine-zero-config-local-mode"]
1822
tags: ["v*.*.*"]
1923

2024
permissions:
@@ -53,8 +57,7 @@ jobs:
5357
docker.io/${{ secrets.DOCKERHUB_USERNAME }}/vectorless
5458
ghcr.io/${{ github.repository_owner }}/vectorless
5559
tags: |
56-
type=raw,value=latest,enable={{is_default_branch}}
57-
type=raw,value=latest,enable=${{ github.event_name == 'workflow_dispatch' }}
60+
type=raw,value=latest
5861
type=ref,event=tag
5962
type=sha,prefix=sha-,format=short
6063

0 commit comments

Comments
 (0)