Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

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

Reinier van der Leerb083d3245db8
diff --git a/.github/workflows/autogpt-docker-release.yml b/.github/workflows/autogpt-docker-release.yml
index 7d8e7c8b64..e107bd2d12 100644
--- a/.github/workflows/autogpt-docker-release.yml
+++ b/.github/workflows/autogpt-docker-release.yml
@@ -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 }}