File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,9 +104,11 @@ jobs:
104104 sed -i "s/^version: .*/version: \"${VERSION}\"/" addon/config.yaml
105105 echo "Building production addon version ${VERSION}"
106106 elif [[ "${{ github.ref }}" == "refs/heads/main" ]]; then
107- echo "tags=${{ env.REGISTRY }}/${IMAGE_NAME_LOWER}:dev" >> $GITHUB_OUTPUT
107+ # Use the bumped version from the previous step
108+ DEV_VERSION="${{ env.VERSION }}"
109+ echo "tags=${{ env.REGISTRY }}/${IMAGE_NAME_LOWER}:${DEV_VERSION},${{ env.REGISTRY }}/${IMAGE_NAME_LOWER}:dev" >> $GITHUB_OUTPUT
108110 echo "config_dir=addon-dev" >> $GITHUB_OUTPUT
109- echo "Building dev addon"
111+ echo "Building dev addon version ${DEV_VERSION} "
110112 else
111113 echo "tags=${{ env.REGISTRY }}/${IMAGE_NAME_LOWER}:${{ github.sha }}" >> $GITHUB_OUTPUT
112114 echo "config_dir=addon-dev" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments