Skip to content

fix(ci): used wrong DOCKERHUB_REPOSITORY value due to copy paste #47

fix(ci): used wrong DOCKERHUB_REPOSITORY value due to copy paste

fix(ci): used wrong DOCKERHUB_REPOSITORY value due to copy paste #47

name: docker-hub-description
on:
push:
workflow_call:
secrets:
DOCKERHUB_TOKEN:
required: true
env:
DOCKERHUB_USERNAME: ${{ vars.DOCKERHUB_USERNAME }}
DOCKERHUB_REPOSITORY: ${{ vars.DOCKERHUB_REPOSITORY }}
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Update docker hub description
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ env.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: ${{ github.repository_owner }}/${{ env.DOCKERHUB_REPOSITORY }}
short-description: ${{ github.event.repository.description }}