Skip to content

Commit 65fc7df

Browse files
committed
updated dockerhub publish
1 parent fb7badb commit 65fc7df

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ The `docker-publish.yml` workflow automatically builds and publishes Docker imag
3232
This is a limitation of the Docker Hub API. If you prefer not to store your password in GitHub Secrets,
3333
you can manually update the README on Docker Hub's website instead.
3434

35+
**Troubleshooting**: If you encounter a "409 Conflict" error, this is usually harmless and means the README
36+
is already up-to-date. The workflow will continue successfully even if this step fails (it won't block your
37+
image from being published). You can also manually update the README on Docker Hub if needed.
38+
3539
4. **Push to trigger build**:
3640
```bash
3741
git push origin main

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666

6767
- name: Update Docker Hub description
6868
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
69+
continue-on-error: true
6970
uses: peter-evans/dockerhub-description@v4
7071
with:
7172
username: ${{ secrets.DOCKERHUB_USERNAME }}

0 commit comments

Comments
 (0)