Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ name: Build & Push Images
# Note: we intentionally do NOT publish a moving `:latest` tag. The cluster
# tracks the explicit `:dev` tag, and avoiding `:latest` sidesteps the tag
# resolution ambiguity that previously affected keel on the ikaskey instance.
#
# CI gate: images are only built after ci.yml passes for the same commit.
# keel auto-deploys :dev, so publishing an image from a failing commit would
# ship it to production (#288).

on:
push:
Expand All @@ -25,8 +29,12 @@ env:
IMAGE_NAMESPACE: love-rox

jobs:
ci:
uses: ./.github/workflows/ci.yml

build:
name: Build ${{ matrix.component }}
needs: ci
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
push:
branches-ignore:
- 'dependabot/**'
# dev / main run CI via build-images.yml (workflow_call), which gates
# image publishing on the result. Skip here to avoid running CI twice.
- dev
- main
pull_request:
branches: [main, dev]
workflow_call:
Expand Down
Loading