Skip to content

Commit abc1c53

Browse files
committed
ci: dockerhub description update in separate file
1 parent 0dce357 commit abc1c53

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -133,19 +133,3 @@ jobs:
133133
repository: TibiaData/tibiadata-helm-charts
134134
event-type: bump-helm-chart-release
135135
client-payload: '{"chart_name": "${{ github.event.repository.name }}", "release_version": "${{ needs.build.outputs.docker_meta_version }}"}'
136-
137-
dockerhub:
138-
if: github.event_name == 'release'
139-
runs-on: ubuntu-latest
140-
needs: build
141-
steps:
142-
- name: Checkout
143-
uses: actions/checkout@v4
144-
145-
- name: Docker Hub Description
146-
uses: peter-evans/dockerhub-description@v4
147-
if: github.event_name == 'release'
148-
with:
149-
username: ${{ secrets.DOCKERHUB_USERNAME }}
150-
password: ${{ secrets.DOCKERHUB_TOKEN }}
151-
short-description: ${{ github.event.repository.description }}

.github/workflows/dockerhub.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: dockerhub
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
description:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Docker Hub Description
19+
uses: peter-evans/dockerhub-description@v4
20+
with:
21+
username: ${{ secrets.DOCKERHUB_USERNAME }}
22+
password: ${{ secrets.DOCKERHUB_TOKEN }}
23+
short-description: ${{ github.event.repository.description }}

0 commit comments

Comments
 (0)