docs: wrong syntax to sanitize repo slug

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2021-10-02 18:23:03 +02:00
parent 04d5124fcb
commit 9f46d13e71
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ to generate sanitized tags, or a dedicated step to sanitize the slug:
id: repo_slug id: repo_slug
with: with:
result-encoding: string result-encoding: string
script: return `ghcr.io/${github.repository.toLowerCase()}` script: return '${{ github.repository }}'.toLowerCase()
- name: Build and push - name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2