Skip to content

Commit 1536cf0

Browse files
committed
Add checkout option to shared build
1 parent cc71921 commit 1536cf0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/shared-build-and-publish-docker-image.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ jobs:
106106
- name: Login to ACR via OIDC
107107
run: az acr login --name ${{ inputs.acr_name }}
108108

109+
- name: Checkout
110+
if: ${{ inputs.context == '.' }}
111+
uses: actions/checkout@v5
112+
109113
- name: Download artifacts
110114
if: ${{ inputs.artifact-id }}
111115
uses: actions/download-artifact@v5

0 commit comments

Comments
 (0)