Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

Commit 58880d8

Browse files
committed
Docker Hub の Description 自動反映を無効化
1 parent 92dbd3c commit 58880d8

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/main.yml

+14-9
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,15 @@ on:
1010
- 'releases/**'
1111

1212
pull_request:
13-
types: [opened, synchronize]
13+
types:
14+
- opened
15+
- synchronize
1416
paths-ignore:
1517
- '*.md'
1618

1719
release:
18-
types: [ published ]
20+
types:
21+
- published
1922

2023
workflow_dispatch:
2124

@@ -57,10 +60,12 @@ jobs:
5760
push: true
5861
tags: ${{ env.DOCKER_BASE_NAME }}:${{ github.event.release.tag_name }}
5962

60-
- name: Update Docker Hub description
61-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
62-
uses: peter-evans/dockerhub-description@v2
63-
with:
64-
username: ${{ secrets.DOCKERHUB_USERNAME }}
65-
password: ${{ secrets.DOCKERHUB_TOKEN }}
66-
repository: ${{ env.DOCKER_BASE_NAME }}
63+
# 2FA を無効化する必要がある
64+
# https://github.com/peter-evans/dockerhub-description#action-inputs
65+
# - name: Update Docker Hub description
66+
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
67+
# uses: peter-evans/dockerhub-description@v2
68+
# with:
69+
# username: ${{ secrets.DOCKERHUB_USERNAME }}
70+
# password: ${{ secrets.DOCKERHUB_TOKEN }}
71+
# repository: ${{ env.DOCKER_BASE_NAME }}

0 commit comments

Comments
 (0)