Skip to content

Commit 5144ed3

Browse files
committed
bugfix in workflow
1 parent 611ba08 commit 5144ed3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/docker-build-and-push-cron.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
outputs:
2929
# This comes from the step below
3030
SHOULD_RUN: ${{ steps.EXIT_ACTION.outputs.SHOULD_RUN }}
31-
SDK_VERSION: ${{ steps.GET_VERSION.outputs.SDK_VERSION }}
31+
SDK_VERSION: ${{ steps.GET_VERSIONS.outputs.SDK_VERSION }}
3232
# The steps of this job
3333
steps:
3434
- name: Get versions
@@ -50,7 +50,7 @@ jobs:
5050
5151
# This one actually builds.
5252
# This is a copy paste of the docker-build-and-push.yaml action
53-
# But I change 'github.event.inputs.moduleversion' to 'steps.GET_VERSIONS.outputs.SDK_VERSION'
53+
# But I change 'github.event.inputs.moduleversion' to 'needs.update-check-job.outputs.SDK_VERSION'
5454
build-linux-box:
5555
runs-on: ubuntu-latest
5656
needs: update-check-job
@@ -92,9 +92,9 @@ jobs:
9292
# Only amd64 is supported for now in the Ubuntu image https://learn.microsoft.com/en-gb/powershell/scripting/install/installing-powershell-on-linux?view=powershell-7.4#ubuntu
9393
# thanks for the syntax https://github.com/docker/build-push-action/issues/557
9494
build-args: |
95-
GRAPH_VERSION=${{ needs.update-check-job.outputs.SHOULD_RUN }}
95+
GRAPH_VERSION=${{ needs.update-check-job.outputs.SDK_VERSION }}
9696
push: ${{ github.ref == 'refs/heads/main' }}
9797
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description='PowerShell + MS Graph container'
9898
tags: |
99-
rakheshster/powershell-msgraph:${{ needs.update-check-job.outputs.SHOULD_RUN }}
100-
ghcr.io/rakheshster/powershell-msgraph:${{ needs.update-check-job.outputs.SHOULD_RUN }}
99+
rakheshster/powershell-msgraph:${{ needs.update-check-job.outputs.SDK_VERSION }}
100+
ghcr.io/rakheshster/powershell-msgraph:${{ needs.update-check-job.outputs.SDK_VERSION }}

0 commit comments

Comments
 (0)