5151 - name : Tag Prefix
5252 id : tag-prefix
5353 run : |
54- pr_prefix="${{ github.event_name == 'pull_request' && format('pr{0}-', github.event.pull_request.number) }}"
54+ pr_prefix="${{ github.event_name == 'pull_request' && format('pr{0}-', github.event.pull_request.number) || '' }}"
5555 count="$(git rev-list HEAD --count --first-parent)"
5656 echo "tag-prefix=${pr_prefix}v${count}-" | tee -a $GITHUB_OUTPUT
5757 echo "tag-alias-prefix=${pr_prefix}" | tee -a $GITHUB_OUTPUT
@@ -217,7 +217,8 @@ jobs:
217217 done
218218 - name : Create Tag
219219 id : tag
220- run : echo "tag=${{ needs.setup.outputs.tag-prefix }}-${{ matrix.image.tag }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
220+ run : echo "tag=${{ needs.setup.outputs.tag-prefix }}${{ matrix.image.tag }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
221+ =falsev649--latest-amd64
221222 - name : Pull Base Image
222223 run : docker pull --platform linux/${{ matrix.arch }} ubuntu:22.04
223224 # Docker buildx cannot be used to build the dev quickstart image because
@@ -300,7 +301,7 @@ jobs:
300301 platforms : arm64
301302 - name : Create Tag
302303 id : tag
303- run : echo "tag=${{ needs.setup.outputs.tag-prefix }}- ${{ matrix.tag }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
304+ run : echo "tag=${{ needs.setup.outputs.tag-prefix }}${{ matrix.tag }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
304305 - name : Prepare Logs Directory
305306 run : mkdir -p logs
306307 - name : Run Quickstart Image
@@ -399,7 +400,7 @@ jobs:
399400 ref : ${{ inputs.sha }}
400401 - name : Create Tag
401402 id : tag
402- run : echo "tag=${{ needs.setup.outputs.tag-prefix }}- ${{ matrix.tag }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
403+ run : echo "tag=${{ needs.setup.outputs.tag-prefix }}${{ matrix.tag }}-${{ matrix.arch }}" >> $GITHUB_OUTPUT
403404 - uses : ./.github/actions/push
404405 with :
405406 head_sha : ${{ env.sha }}
@@ -426,8 +427,8 @@ jobs:
426427 - name : Create Tag
427428 id : tag
428429 run : |
429- echo "tag=${{ needs.setup.outputs.tag-prefix }}- ${{ matrix.tag }}" >> $GITHUB_OUTPUT
430- echo "tag-alias=${{ needs.setup.outputs.tag-alias-prefix }}- ${{ matrix.tag }}" >> $GITHUB_OUTPUT
430+ echo "tag=${{ needs.setup.outputs.tag-prefix }}${{ matrix.tag }}" >> $GITHUB_OUTPUT
431+ echo "tag-alias=${{ needs.setup.outputs.tag-alias-prefix }}${{ matrix.tag }}" >> $GITHUB_OUTPUT
431432 - uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
432433 with :
433434 registry : ${{ env.REGISTRY }}
0 commit comments