Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable readme updates on docker hub overview #105

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/publish-dockerhub-readme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
name: Push README to Docker Hub
#https://github.com/christian-korneck/update-container-description-action
#https://github.com/christian-korneck/update-container-description-action/blob/master/action.yml
#https://hub.docker.com/layers/chko/docker-pushrm/1/images/sha256-29a68cc9b8990a3ef946e96765af00669cda93b71972d7e615ef346e28ee8f5b
#uses: https://github.com/christian-korneck/docker-pushrm
on:
release:
types: [released]
jobs:
PushContainerReadme:
runs-on: ubuntu-latest
name: Push README to Docker Hub
steps:
- name: git checkout
uses: actions/checkout@v4
- name: push README to Dockerhub ckan/ckan-base
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
with:
destination_container_repo: ckan/ckan-base
provider: dockerhub
short_description: 'Official Base images for CKAN.'
readme_file: 'README.md'
- name: push README to Dockerhub ckan/ckan-dev
uses: christian-korneck/update-container-description-action@cf2977b0f3d189227f140ecbc6402c5a042b34e4
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
with:
destination_container_repo: ckan/ckan-dev
provider: dockerhub
short_description: 'Official Dev Docker images for CKAN'
readme_file: 'README.md'