Skip to content

Commit c7eb23e

Browse files
committed
hotfix: Adapt docker releases
1 parent d7cde0e commit c7eb23e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/docker-release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Docker Build and Push Release Image
22

33
on:
4-
push:
5-
tags:
6-
- '0.*'
4+
release:
5+
types: [published]
76

87
env:
98
REGISTRY: docker.io

release.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ module.exports = {
44
{ name: 'main' },
55
{ name: 'dev', channel: 'dev', prerelease: false }
66
],
7+
initialVersion: '0.1.0',
8+
tagFormat: '${version}',
79
releaseRules: [
8-
{ type: 'major', release: 'patch' },
10+
{ type: 'major', release: 'patch' },
911
{ type: 'feat', release: 'minor' },
1012
{ type: 'fix', release: 'patch' },
1113
{ type: 'perf', release: 'patch' }
1214
],
13-
tagFormat: '0.${version}',
1415
plugins: [
1516
'@semantic-release/commit-analyzer',
1617
'@semantic-release/release-notes-generator',

0 commit comments

Comments
 (0)