mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-23 11:29:02 +00:00
Merge pull request #475 from crazy-max/fix-docs
docs: wrong syntax to sanitize repo slug
This commit is contained in:
commit
96daefdf52
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user