Skip to content

Commit 862c12f

Browse files
committed
refactor(renaming): disable docker hub publish
1 parent 54312c9 commit 862c12f

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

.github/workflows/publish.yml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
id: docker_metadata
2424
uses: docker/metadata-action@v5
2525
with:
26-
images: ghcr.io/${{ github.repository }},${{ github.repository }}
26+
images: ghcr.io/${{ github.repository }}
2727
tags: |
2828
type=raw,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},value=nightly
2929
type=semver,pattern={{version}}
@@ -54,30 +54,30 @@ jobs:
5454
tags: ${{ steps.docker_metadata.outputs.tags }}
5555
labels: ${{ steps.docker_metadata.outputs.labels }}
5656

57-
dockerhub-description:
58-
runs-on: ubuntu-22.04
59-
steps:
60-
- name: Check out repository
61-
uses: actions/checkout@v4
62-
with:
63-
fetch-depth: 2
64-
65-
- name: Find change in readme file
66-
id: readme-change
67-
uses: tj-actions/changed-files@v44.0.0
68-
with:
69-
files: |
70-
README.md
71-
72-
- name: Docker Hub Description
73-
if: steps.readme-change.outputs.any_changed == 'true'
74-
uses: peter-evans/dockerhub-description@v4
75-
with:
76-
username: ${{ secrets.DOCKER_HUB_REGISTRY_ID }}
77-
description: Docker image for https://github.com/okp4/okp4d
78-
password: ${{ secrets.DOCKER_HUB_REGISTRY_TOKEN }}
79-
repository: okp4/okp4d
80-
readme-filepath: README.md
57+
# dockerhub-description:
58+
# runs-on: ubuntu-22.04
59+
# steps:
60+
# - name: Check out repository
61+
# uses: actions/checkout@v4
62+
# with:
63+
# fetch-depth: 2
64+
#
65+
# - name: Find change in readme file
66+
# id: readme-change
67+
# uses: tj-actions/changed-files@v44.0.0
68+
# with:
69+
# files: |
70+
# README.md
71+
#
72+
# - name: Docker Hub Description
73+
# if: steps.readme-change.outputs.any_changed == 'true'
74+
# uses: peter-evans/dockerhub-description@v4
75+
# with:
76+
# username: ${{ secrets.DOCKER_HUB_REGISTRY_ID }}
77+
# description: Docker image for https://github.com/okp4/okp4d
78+
# password: ${{ secrets.DOCKER_HUB_REGISTRY_TOKEN }}
79+
# repository: okp4/okp4d
80+
# readme-filepath: README.md
8181

8282
publish-buf-proto:
8383
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)