Skip to content

Commit 64776fd

Browse files
committed
Cleanup release
- Run deploy on release published - Do not run CI again - Auto-publish docker description when deploying to docker hub
1 parent b857663 commit 64776fd

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ name: CI
33
on:
44
pull_request:
55
workflow_dispatch:
6-
release:
76

87
env:
98
REGISTRY: ghcr.io

.github/workflows/deploy.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ on:
1414
description: Was the build triggered
1515
required: false
1616
default: true
17-
workflow_run:
18-
workflows:
19-
- CI
20-
tags:
21-
- 'v[0-9]+.[0-9]+.[0-9]+*'
22-
types:
23-
- completed
2417

2518
env:
2619
DEFAULT_JAVA_VERSION: 17
@@ -124,3 +117,9 @@ jobs:
124117
-PdockerTags=$DOCKER_TAGS
125118
--imageName=$IMAGE:$CLOUD_CONFIG_BUILD_VERSION-$SHORT_SHA-$JAVA
126119
--publishImage
120+
- name: Update Docker Hub README
121+
if: env.REGISTRY == 'docker.io'
122+
uses: meeDamian/[email protected]
123+
with:
124+
pass: ${{ secrets.DOCKER_PASS }}
125+
description: true

0 commit comments

Comments
 (0)