Skip to content

Commit 6f5020e

Browse files
authored
chore: add GH workflow to publish manually from branches (#2316)
1 parent 9595ed7 commit 6f5020e

2 files changed

Lines changed: 25 additions & 1 deletion

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish from branch
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
publish-from-branch:
8+
name: Publish from branch
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Build and publish all images to Dockerhub
12+
run: |
13+
echo ${{ secrets.DOCKER_HUB_TOKEN }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
14+
make docker-publish
15+
16+
send-chat-notification:
17+
name: Send google chat notification
18+
needs: [publish-from-branch]
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Send notification to google chat room "DSP releases"
22+
uses: lakto/google-chat-action@main
23+
with:
24+
url: ${{ secrets.GOOGLE_CHAT_DSP_RELEASES_WEBHOOK_URL }}
25+

‎.github/workflows/publish-release.yml‎

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

87
jobs:
98
create-client-test-data:

0 commit comments

Comments
 (0)