Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/shared-build-and-publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,16 @@ on:
type: string
required: false
default: null
artifact-id:
description: Artifact ID needed to download for the build.
type: string
required: false
default: null
artifact-path:
description: Target where to download the artifact.
type: string
required: false
default: .
secrets:
azure_tenant_id:
required: true
Expand Down Expand Up @@ -96,6 +106,13 @@ jobs:
- name: Login to ACR via OIDC
run: az acr login --name ${{ inputs.acr_name }}

- name: Download artifacts
if: ${{ inputs.artifact_id }}
uses: actions/download-artifact@v5
with:
artifact-ids: ${{ inputs.artifact_id }}
path: ${{ inputs.artifact-path }}

- name: Build and push
uses: docker/build-push-action@v6
with:
Expand Down