ci/cd: Strip autogpt- from tag name for Docker release

This commit is contained in:
Reinier van der Leer
2023-12-11 15:47:30 +01:00
parent b9d7dd1514
commit b083d3245d

View File

@@ -38,7 +38,7 @@ 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//\//-} >> $GITHUB_OUTPUT
run: echo tag=${${raw_tag//\//-}/autogpt-/} >> $GITHUB_OUTPUT
env:
raw_tag: ${{ github.ref_name }}