Skip to content

Commit 4d6c3c1

Browse files
liya2017liya2017
liya2017
authored and
liya2017
committed
ci: publish docker image
1 parent 27c0b77 commit 4d6c3c1

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.github/workflows/generate_changlog_file.yml

-19
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,7 @@ jobs:
1616
with:
1717
token: ${{ secrets.GITHUB_TOKEN }}
1818
headerLabel: "# 📑 Changelog"
19-
<<<<<<< HEAD
20-
<<<<<<< HEAD
2119
addSections: '{"documentation":{"prefix":"### 📖 Documentation","labels":["document"]},"Features":{"prefix":"### 🚀 Features","labels":["feature"]},"Enhancement":{"prefix":"### 🔥 Enhancement","labels":["enhancement"]},"bugfix":{"prefix":"🐛 Bug Fixes","labels":["bugfix"]},"refactor":{"prefix":"### 🐝 refactor","labels":["refactor"]},"chore":{"prefix":"### 🧰 Chore","labels":["chore"]},"Otherchanges":{"prefix":"✨ Other changes","labels":[""]},"dependencies":{"prefix":"⬆️ Dependency Updates","labels":["dependencies"]},"style":{"prefix":"🌈 Style","labels":["style"]}}'
22-
=======
23-
addSections: '{"documentation":{"prefix":"### 📖 Documentation","labels":["document"]},"Features":{"prefix":"### 🚀 Features","labels":["feature"]},"Enhancement":{"prefix":"### 🚀 Enhancement","labels":["enhancement"]},"bugfix":{"prefix":"🐛 Bug Fixes","labels":["bugfix"]},"refactor":{"prefix":"### 🐝 refactor","labels":["refactor"]},"chore":{"prefix":"### 🧰 Chore","labels":["chore"]},"Otherchanges":{"prefix":"✨ Other changes","labels":[""]},"dependencies":{"prefix":"⬆️ Dependency Updates","labels":["dependencies"]},"style":{"prefix":"🌈 Style","labels":["style"]}}'
24-
>>>>>>> c3ddb29 (ci: workflow to generate changlog)
25-
=======
26-
addSections: '{"documentation":{"prefix":"### 📖 Documentation","labels":["document"]},"Features":{"prefix":"### 🚀 Features","labels":["feature"]},"Enhancement":{"prefix":"### 🔥 Enhancement","labels":["enhancement"]},"bugfix":{"prefix":"🐛 Bug Fixes","labels":["bugfix"]},"refactor":{"prefix":"### 🐝 refactor","labels":["refactor"]},"chore":{"prefix":"### 🧰 Chore","labels":["chore"]},"Otherchanges":{"prefix":"✨ Other changes","labels":[""]},"dependencies":{"prefix":"⬆️ Dependency Updates","labels":["dependencies"]},"style":{"prefix":"🌈 Style","labels":["style"]}}'
27-
>>>>>>> 0308bf9 (ci: update prefix image)
2820
author: true
2921
compareLink: true
3022
stripGeneratorNotice: true
@@ -42,18 +34,7 @@ jobs:
4234
with:
4335
token: ${{ secrets.TOKEN }}
4436
signoff: false
45-
<<<<<<< HEAD
46-
<<<<<<< HEAD
47-
commit-message: "docs: automated update CHANGELOG.md"
48-
branch: bot-${{ github.repository }}
49-
title: "docs: automated update CHANGELOG.md"
50-
commit-message: "feat: automated pr to change config files"
51-
=======
52-
commit-message: "docs: automated update CHANGELOG.mds"
53-
>>>>>>> 94bbc12 (ci: update commit message)
54-
=======
5537
commit-message: "docs: automated update CHANGELOG.md"
56-
>>>>>>> 0308bf9 (ci: update prefix image)
5738
branch: bot-${{ github.repository }}
5839
title: "docs: automated update CHANGELOG.md"
5940
body: "automated pr to change log"

.github/workflows/release.yml

+19
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,22 @@ jobs:
147147
workflow: Somking test suit
148148
token: ${{ secrets.GITHUB_TOKEN }}
149149
inputs: '{ "axon_linux_release_tag": "${{ needs.version.outputs.tag }}" }'
150+
151+
trigger-build-docker-image:
152+
runs-on: ubuntu-latest
153+
needs:
154+
- version
155+
steps:
156+
- uses: actions/checkout@v3
157+
- name: Generate axon-bot token
158+
id: generate_axon_bot_token
159+
uses: wow-actions/use-app-token@v2
160+
with:
161+
app_id: ${{ secrets.AXON_BOT_APP_ID }}
162+
private_key: ${{ secrets.AXON_BOT_PRIVATE_KEY }}
163+
- name: Invoke build docker image with inputs
164+
uses: aurelien-baudet/workflow-dispatch@v2
165+
with:
166+
workflow: Build docker image
167+
token: ${{ secrets.GITHUB_TOKEN }}
168+
inputs: '{ "dispatch": "${{ needs.version.outputs.tag }}" }'

0 commit comments

Comments
 (0)