Skip to content

Commit 1f591cf

Browse files
committed
fix workflow part XVII
1 parent 3c7b1cf commit 1f591cf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-release-latest.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
build-image:
99
runs-on: ubuntu-latest
1010
outputs:
11-
image_tag: ${{ steps.get_hash.outputs.HASH }}
11+
image: ${{ steps.get_image.outputs.IMAGE }}
1212
steps:
1313
- uses: actions/checkout@v4
1414
# docker login is needed for pushing the test image
@@ -20,7 +20,7 @@ jobs:
2020
- id: get_hash
2121
run: echo "HASH=$(ls -lR | xargs | md5sum | cut -d\ -f1)" >> $GITHUB_OUTPUT
2222
- id: get_image
23-
run: echo "$(echo ${{ github.repository }} | tr '[:upper:]' '[:lower:]'):${{ steps.get_hash.outputs.HASH }}"
23+
run: echo "IMAGE=$(echo ghcr.io/${{ github.repository }} | tr '[:upper:]' '[:lower:]'):${{ steps.get_hash.outputs.HASH }}" >> $GITHUB_OUTPUT
2424
# build container image for package creation
2525
- run: docker pull ${{ env.cr_image }}:${{ steps.get_hash.outputs.HASH }} || docker build -t ${{ env.cr_image }}:${{ steps.get_hash.outputs.HASH }} -f dockerfiles/checkmk/Dockerfile .
2626
- run: docker push ${{ env.cr_image }}:${{ steps.get_hash.outputs.HASH }}
@@ -30,7 +30,7 @@ jobs:
3030
needs: build-image
3131
container:
3232
#image: ${{ env.cr_image }}:${{ needs.build-image.outputs.image_tag }}
33-
image: ghcr.io/henriwahl/checkmk-agent-plugin-yum/build:${{ needs.build-image.outputs.image_tag }}
33+
image: ${{ needs.build-image.outputs.image }}
3434
steps:
3535
- run: ls
3636

0 commit comments

Comments
 (0)