mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-15 13:53:50 +08:00
docs: wrong syntax to sanitize repo slug
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
04d5124fcb
commit
9f46d13e71
@ -108,7 +108,7 @@ to generate sanitized tags, or a dedicated step to sanitize the slug:
|
||||
id: repo_slug
|
||||
with:
|
||||
result-encoding: string
|
||||
script: return `ghcr.io/${github.repository.toLowerCase()}`
|
||||
script: return '${{ github.repository }}'.toLowerCase()
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
|
Loading…
Reference in New Issue
Block a user