mirror of
https://github.com/nexu-io/open-design.git
synced 2026-06-01 03:14:35 +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.
|
# Phase 5 / spec §15.5 — multi-arch image builds.
|
||||||
#
|
#
|
||||||
# Pushes to ghcr.io on:
|
# Pushes to ghcr.io on:
|
||||||
# - main branch → ghcr.io/<owner>/od:edge + :sha-<short>
|
# - tag (v*.*.*) → ghcr.io/<owner>/od:<tag> + :latest
|
||||||
# - tag (v*) → ghcr.io/<owner>/od:<tag> + :latest
|
|
||||||
#
|
|
||||||
# Pull requests build the image but do not push (smoke test only).
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
|
||||||
tags: ['v*.*.*']
|
tags: ['v*.*.*']
|
||||||
pull_request:
|
|
||||||
branches: [main]
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-push:
|
build-and-push:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue