ci: Fix docker release workflow

- Update autogpt-docker-release.yml to correctly sanitize image tags
- This unbreaks the release workflow
This commit is contained in:
Reinier van der Leer
2023-12-13 21:39:01 +01:00
parent d41963d5fa
commit 1bed3c6056

View File

@@ -38,7 +38,9 @@ jobs:
# slashes are not allowed in image tags, but can appear in git branch or tag names
- id: sanitize_tag
name: Sanitize image tag
run: echo tag=${${raw_tag//\//-}/autogpt-/} >> $GITHUB_OUTPUT
run: |
tag=${raw_tag//\//-}
echo tag=${tag#autogpt-} >> $GITHUB_OUTPUT
env:
raw_tag: ${{ github.ref_name }}