Skip to content

Commit

Permalink
Update publish-image-acr.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Heba Elayoty <[email protected]>
  • Loading branch information
helayoty authored Oct 17, 2023
1 parent f696c7d commit 96f0733
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/publish-image-acr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,25 @@ on:
permissions:
id-token: write
contents: read
packages: read

env:
GO_VERSION: '1.20'

jobs:
publish:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
defaults:
run:
shell: pwsh
runs-on: ubuntu-20.04
steps:
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Download tag artifact
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit 96f0733

Please sign in to comment.