Skip to content

Commit

Permalink
update image src
Browse files Browse the repository at this point in the history
  • Loading branch information
sk593 committed Oct 2, 2023
1 parent ba0e5ef commit 1bd614c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/radius-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ env:
GHCR_ACTOR: rad-ci-bot
# Container registry url for GitHub container registry.
CONTAINER_REGISTRY: ${{ github.event_name == 'push' && 'ghcr.io/radius-project/dev' || 'ghcr.io/radius-project/radius' }}
# Version tag
VERSION_TAG: ${{ env.UPDATE_RELEASE == 'true' && env.REL_VERSION || 'latest' }}
# URL to get source code for building the image
IMAGE_SRC: https://github.com/radius-project/radius
IMAGE_SRC: https://github.com/radius-project/bicep

jobs:
build:
Expand Down Expand Up @@ -306,7 +308,7 @@ jobs:
- run: oras version
- name: Push rad bicep binaries to GHCR (${{ matrix.runtime.name }})
run: |
oras push --annotation "org.opencontainers.image.source=${{ env.IMAGE_SRC }}" ${{ env.CONTAINER_REGISTRY }}/bicep/rad-bicep/${{ matrix.runtime.name }}:latest ./artifacts/bicep/${{ matrix.runtime.name }}/
oras push --annotation "org.opencontainers.image.source=${{ env.IMAGE_SRC }}" ${{ env.CONTAINER_REGISTRY }}/bicep/rad-bicep/${{ matrix.runtime.name }}:${{ env.VERSION_TAG }} ./artifacts/bicep/${{ matrix.runtime.name }}/
- name: Check uploaded
run: curl --fail ${{ env.CONTAINER_REGISTRY }}/bicep/rad-bicep/${{ matrix.runtime.name }}:latest -v > out

Expand Down

0 comments on commit 1bd614c

Please sign in to comment.