mirror of
https://github.com/nexu-io/open-design.git
synced 2026-05-31 19:04:39 +07:00
fix(ci): only run docker image workflow for release tags (#1916)
This commit is contained in:
parent
440de58e10
commit
1f728ac8e3
1 changed files with 1 additions and 8 deletions
9
.github/workflows/docker-image.yml
vendored
9
.github/workflows/docker-image.yml
vendored
|
|
@ -3,18 +3,11 @@ name: Docker image
|
|||
# Phase 5 / spec §15.5 — multi-arch image builds.
|
||||
#
|
||||
# Pushes to ghcr.io on:
|
||||
# - main branch → ghcr.io/<owner>/od:edge + :sha-<short>
|
||||
# - tag (v*) → ghcr.io/<owner>/od:<tag> + :latest
|
||||
#
|
||||
# Pull requests build the image but do not push (smoke test only).
|
||||
# - tag (v*.*.*) → ghcr.io/<owner>/od:<tag> + :latest
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
tags: ['v*.*.*']
|
||||
pull_request:
|
||||
branches: [main]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
|
|
|||
Loading…
Reference in a new issue