Skip to content

Updated checkout stage in docker-description.yml to use v4, which has… #2

Updated checkout stage in docker-description.yml to use v4, which has…

Updated checkout stage in docker-description.yml to use v4, which has… #2

name: Push README to Docker Hub
on:
push:
branches:
- main
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
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
with:
destination_container_repo: ${{ vars.REGISTRY_IMAGE }}
provider: dockerhub
short_description: ${{ vars.DESCRIPTION }}
readme_file: 'README.md'