11---
22name : Build Hello-World
3+ run-name : |
4+ Build Hello-World (attempt #${{ github.run_attempt }})
35
46env :
57 PRODUCT_NAME : hello-world
@@ -93,16 +95,14 @@ jobs:
9395 - name : Checkout Repository
9496 uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
9597
96- - name : Free Disk Space
97- uses : stackabletech/actions/free-disk-space@a3f7587879e9f12e04a29fd26435949aaa4fd59c # 0.2.0
9898 - name : Publish and Sign Image Index Manifest to docker.stackable.tech
9999 uses : stackabletech/actions/publish-index-manifest@a3f7587879e9f12e04a29fd26435949aaa4fd59c # 0.2.0
100100 with :
101101 image-registry-uri : docker.stackable.tech
102102 image-registry-username : github
103103 image-registry-password : ${{ secrets.NEXUS_PASSWORD }}
104104 image-repository : stackable/${{ env.PRODUCT_NAME }}
105- image-index-manifest-tag : ${{ matrix.versions }}-stackable0.0.0-dev
105+ image-index-manifest-tag : ${{ matrix.versions }}-stackable${{ env.SDP_VERSION }}
106106
107107 - name : Publish and Sign Image Index Manifest to oci.stackable.tech
108108 uses : stackabletech/actions/publish-index-manifest@a3f7587879e9f12e04a29fd26435949aaa4fd59c # 0.2.0
@@ -111,7 +111,7 @@ jobs:
111111 image-registry-username : robot$sdp+github-action-build
112112 image-registry-password : ${{ secrets.HARBOR_ROBOT_SDP_GITHUB_ACTION_BUILD_SECRET }}
113113 image-repository : sdp/${{ env.PRODUCT_NAME }}
114- image-index-manifest-tag : ${{ matrix.versions }}-stackable0.0.0-dev
114+ image-index-manifest-tag : ${{ matrix.versions }}-stackable${{ env.SDP_VERSION }}
115115
116116 notify :
117117 name : Failure Notification
@@ -124,7 +124,7 @@ jobs:
124124 channel-id : " C07UG6JH44F" # notifications-container-images
125125 payload : |
126126 {
127- "text": "*${{ github.workflow }}* failed",
127+ "text": "*${{ github.workflow }}* failed (attempt ${{ github.run_attempt }}) ",
128128 "attachments": [
129129 {
130130 "pretext": "See the details below for a summary of which job(s) failed.",
@@ -150,7 +150,7 @@ jobs:
150150 {
151151 "type": "button",
152152 "text": "Go to workflow run",
153- "url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
153+ "url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }} "
154154 }
155155 ]
156156 }
0 commit comments