chore(deps): bump the actions-deps group with 2 updates (#481) #39
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This Github action builds and publishes image to Azure Container Registry (ACR), | |
# from where it is automatically propagated to Microsoft Container Registry (MCR). | |
name: Build and publish to MCR | |
on: | |
push: | |
# Only release on supported semantic version tagging e.g. v0.0.1-rc.0 | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+' | |
- 'v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+' | |
permissions: | |
contents: read | |
jobs: | |
publish-images: | |
permissions: | |
contents: read | |
id-token: write # This is required for requesting the JWT | |
runs-on: | |
labels: [self-hosted, "1ES.Pool=${{ vars.RELEASE_1ES_POOL }}"] | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/install-deps | |
- name: Build and publish image | |
run: | | |
az login --identity | |
ko version | |
RELEASE_ACR=${{ secrets.AZURE_REGISTRY }} ./hack/release/release.sh |