Skip to content

chore(ci): figuring out parameters #43

chore(ci): figuring out parameters

chore(ci): figuring out parameters #43

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

Check failure on line 30 in .github/workflows/docker-hub-description.yml

View workflow run for this annotation

GitHub Actions / docker-hub-description

Invalid workflow file

The workflow is not valid. .github/workflows/docker-hub-description.yml (Line: 30, Col: 9): Unexpected value 'short-description'