mirror of
https://github.com/debpalash/VoiceStudio.git
synced 2026-12-05 18:08:19 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.4.0 to 7.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.4.0...3d3c42e5aac5ba805825da76410c181273ba90b1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
52 lines
1.7 KiB
YAML
52 lines
1.7 KiB
YAML
name: Docker Hub description
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- "deploy/dockerhub-overview.md"
|
|
- ".github/workflows/dockerhub-description.yml"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: dockerhub-description-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
DOCKERHUB_IMAGE: palashdeb/omnivoice-studio
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
|
|
jobs:
|
|
description:
|
|
if: github.ref == 'refs/heads/main'
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
persist-credentials: false
|
|
- name: Check Docker Hub credentials
|
|
id: credentials
|
|
env:
|
|
HUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
HUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
run: |
|
|
enabled=false
|
|
if [ -n "$HUB_USERNAME" ] && [ -n "$HUB_TOKEN" ]; then enabled=true; fi
|
|
echo "enabled=$enabled" >> "$GITHUB_OUTPUT"
|
|
# Description-edit scope is separate from image-push scope. Preserve the
|
|
# existing non-gating behavior when the configured token cannot edit it.
|
|
- name: Update Docker Hub description
|
|
if: steps.credentials.outputs.enabled == 'true'
|
|
continue-on-error: true
|
|
uses: peter-evans/dockerhub-description@432a30c9e07499fd01da9f8a49f0faf9e0ca5b77 # v4.0.2
|
|
with:
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
repository: ${{ env.DOCKERHUB_IMAGE }}
|
|
short-description: "Local ElevenLabs alternative: voice cloning, design & video dubbing in 646 languages. No API keys."
|
|
readme-filepath: ./deploy/dockerhub-overview.md
|