mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-01 04:14:24 +01:00
ci/cd: Strip autogpt- from tag name for Docker release
This commit is contained in:
2
.github/workflows/autogpt-docker-release.yml
vendored
2
.github/workflows/autogpt-docker-release.yml
vendored
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user