Skip to content

Commit 6eb4fc7

Browse files
committed
Fix container name output formatting for artifact upload
1 parent a73ed68 commit 6eb4fc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ jobs:
9595
id: clear-container-name
9696
if: failure() || success()
9797
run: |
98-
# Output the container name, but with ":" replaced by "-"
99-
# This is needed to avoid issues with the upload-artifact action
100-
CONTAINER_NAME=$(echo "${{ matrix.container }}" | tr ':' '-')
101-
echo "CONTAINER_NAME=$CONTAINER_NAME" >> $GITHUB_OUTPUT
98+
# Output the container name, but with ":" and "/" replaced by "-"
99+
# This is needed to avoid issues with the upload-artifact action
100+
CONTAINER_NAME=$(echo "${{ matrix.container }}" | tr ':/' '--')
101+
echo "CONTAINER_NAME=$CONTAINER_NAME" >> $GITHUB_OUTPUT
102102
103103
- name: Upload log
104104
uses: actions/[email protected]

0 commit comments

Comments
 (0)