@@ -82,14 +82,14 @@ jobs:
8282 id : openstack_release
8383 run : |
8484 BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' .gitreview)
85- echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," >> $GITHUB_OUTPUT
85+ echo "openstack_release=${BRANCH}" | sed -E "s,(stable|unmaintained)/,," | tee -a " $GITHUB_OUTPUT"
8686
8787 # Generate a tag to apply to all built container images.
8888 # Without this, each kayobe * container image build command would use a different tag.
8989 - name : Generate container datetime tag
9090 id : datetime_tag
9191 run : |
92- echo "datetime_tag=$(date +%Y%m%dT%H%M%S)" >> $GITHUB_OUTPUT
92+ echo "datetime_tag=$(date +%Y%m%dT%H%M%S)" | tee -a " $GITHUB_OUTPUT"
9393
9494 # Dynamically define job matrix.
9595 # We need a separate matrix entry for each distribution, when the relevant input is true.
@@ -110,7 +110,7 @@ jobs:
110110 # remove trailing comma
111111 output="${output%,}"
112112 output+="]}"
113- echo "matrix=$output" >> $GITHUB_OUTPUT
113+ echo "matrix=$output" | tee -a " $GITHUB_OUTPUT"
114114
115115 - name : Display container datetime tag
116116 run : |
@@ -184,7 +184,7 @@ jobs:
184184
185185 - name : Get Kolla tag
186186 id : write-kolla-tag
187- run : echo "kolla-tag=${{ needs.generate-tag.outputs.openstack_release }}-${{ matrix.distro.name }}-${{ matrix.distro.release }}-${{ needs.generate-tag.outputs.datetime_tag }}" >> $GITHUB_OUTPUT
187+ run : echo "kolla-tag=${{ needs.generate-tag.outputs.openstack_release }}-${{ matrix.distro.name }}-${{ matrix.distro.release }}-${{ needs.generate-tag.outputs.datetime_tag }}" | tee -a " $GITHUB_OUTPUT"
188188
189189 - name : Configure localhost as a seed
190190 run : |
@@ -250,7 +250,7 @@ jobs:
250250 if : inputs.seed && matrix.distro.arch == 'amd64'
251251
252252 - name : Get built container images
253- run : docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/*:${{ steps.write-kolla-tag.outputs.kolla-tag }}*" > ${{ matrix.distro.name }}-${{ matrix.distro.release }}-container-images
253+ run : docker image ls --filter "reference=ark.stackhpc.com/stackhpc-dev/*:${{ steps.write-kolla-tag.outputs.kolla-tag }}*" | tee " ${{ matrix.distro.name }}-${{ matrix.distro.release }}-container-images"
254254
255255 - name : Fail if no images have been built
256256 run : if [ $(wc -l < ${{ matrix.distro.name }}-${{ matrix.distro.release }}-container-images) -le 1 ]; then exit 1; fi
0 commit comments