Skip to content

Commit f823c28

Browse files
committed
fix: use full repository name for template namespace
1 parent c50c5bf commit f823c28

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish-templates.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
run: |
46-
OWNER="${{ github.repository_owner }}"
47-
OWNER_LC=$(echo "$OWNER" | tr '[:upper:]' '[:lower:]')
46+
REPO="${{ github.repository }}"
47+
REPO_LC=$(echo "$REPO" | tr '[:upper:]' '[:lower:]')
4848
4949
# Publish all templates from .devcontainer folder
5050
devcontainer templates publish .devcontainer \
5151
--registry "${{ env.REGISTRY }}" \
52-
--namespace "$OWNER_LC" \
52+
--namespace "$REPO_LC" \
5353
--log-level trace

0 commit comments

Comments
 (0)