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: Fix docker release workflow

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