mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-01 04:14:24 +01:00
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:
4
.github/workflows/autogpt-docker-release.yml
vendored
4
.github/workflows/autogpt-docker-release.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user