Skip to content

Commit ebc44db

Browse files
committed
Docker: Adjust image builder configuration
- Use semver tagging for releases. - Build images on pull requests.
1 parent ac46daa commit ebc44db

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release-docker-full.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
# Generate Docker tags based on the following events/attributes
4545
tags: |
4646
type=schedule,pattern=nightly
47-
type=ref,event=tag
47+
type=ref,event=pr
48+
type=semver,pattern={{version}}
49+
type=semver,pattern={{major}}.{{minor}}
4850
-
4951
name: Inspect meta
5052
run: |

.github/workflows/release-docker-standard.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ jobs:
4444
# Generate Docker tags based on the following events/attributes
4545
tags: |
4646
type=schedule,pattern=nightly
47-
type=ref,event=tag
47+
type=ref,event=pr
48+
type=semver,pattern={{version}}
49+
type=semver,pattern={{major}}.{{minor}}
4850
-
4951
name: Inspect meta
5052
run: |

0 commit comments

Comments
 (0)