We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc71921 commit 3be1fd5Copy full SHA for 3be1fd5
1 file changed
.github/workflows/shared-build-and-publish-docker-image.yml
@@ -106,6 +106,12 @@ jobs:
106
- name: Login to ACR via OIDC
107
run: az acr login --name ${{ inputs.acr_name }}
108
109
+ - name: Checkout
110
+ # Checkout is needed when context is local "."
111
+ # Otherwise the repository code will not be fetched for the build
112
+ if: ${{ inputs.context == '.' }}
113
+ uses: actions/checkout@v5
114
+
115
- name: Download artifacts
116
if: ${{ inputs.artifact-id }}
117
uses: actions/download-artifact@v5
0 commit comments