diff --git a/.github/workflows/portainer-updater.yml b/.github/workflows/portainer-updater.yml index 3768e00..1e935fa 100644 --- a/.github/workflows/portainer-updater.yml +++ b/.github/workflows/portainer-updater.yml @@ -65,7 +65,7 @@ jobs: images: ${{ env.DOCKER_HUB_REPO }} tags: | # Tag for branches that match 'release/*', extract the part after 'release/' as the tag - type=ref,event=branch,pattern=release/*,group=release,format={{trimPrefix "release/" .RefName}} + type=ref,event=branch,pattern=release/*,group=release,format={{trimPrefix release/ .RefName}} # Tag for all other branches (e.g., main, develop) using the branch name directly type=ref,event=branch,pattern=*,group=branch,format={{ .RefName }} # Tag for pull requests using the PR number (e.g., pr123)