Skip to content

Commit

Permalink
Update container build to only push on merges (#726)
Browse files Browse the repository at this point in the history
* k8s guestbook application example for use in tutorial (#626)

* copy over k8s guestbook application example for use in tutorial

Signed-off-by: Will Tsai <[email protected]>

* Apply suggestions from code review

Co-authored-by: Jonathan Smith <[email protected]>

---------

Signed-off-by: Will Tsai <[email protected]>
Co-authored-by: Jonathan Smith <[email protected]>

* Upmerge 10-24 (#695)

* Update get.radapp.dev references (#625)

* Update get.radapp.dev refernces

* Update vscode extension install

* Update eShop Readme with new url links (#647)

* Fix edge version download (#685)

* Add Kuberenetes tutorial content (#620)

* Add Kuberenetes tutorial content

* Update demo/Chart/values.yaml

Co-authored-by: Aaron Crawfis <[email protected]>

* Update demo/Chart/values.yaml

Co-authored-by: Aaron Crawfis <[email protected]>

* k8s guestbook application example for use in tutorial (#626)

* copy over k8s guestbook application example for use in tutorial

Signed-off-by: Will Tsai <[email protected]>

* Apply suggestions from code review

Co-authored-by: Jonathan Smith <[email protected]>

---------

Signed-off-by: Will Tsai <[email protected]>
Co-authored-by: Jonathan Smith <[email protected]>

* Rebase to v0.26

* move chat templatesto samples

---------

Signed-off-by: Will Tsai <[email protected]>
Co-authored-by: Aaron Crawfis <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Jonathan Smith <[email protected]>
Co-authored-by: Reshma Abdul Rahim <[email protected]>
Co-authored-by: Reshma Abdul Rahim <[email protected]>

* Revert changes to test.yaml

---------

Signed-off-by: Aaron Crawfis <[email protected]>
Signed-off-by: Will Tsai <[email protected]>
Co-authored-by: Aaron Crawfis <[email protected]>
Co-authored-by: James Montemagno <[email protected]>
Co-authored-by: Ryan Nowak <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Jonathan Smith <[email protected]>

* Added a condition to allow Docker to fully setup during post-create before initializing the K3d cluster (#694)

Co-authored-by: Reshma Abdul Rahim <[email protected]>

* conditional push to ghcr

* nit

* fix

* nit

* delete az login since unneccessary

* add comment

* nit

* review comments

---------

Signed-off-by: Will Tsai <[email protected]>
Signed-off-by: Aaron Crawfis <[email protected]>
Co-authored-by: Will <[email protected]>
Co-authored-by: Jonathan Smith <[email protected]>
Co-authored-by: Reshma Abdul Rahim <[email protected]>
Co-authored-by: Aaron Crawfis <[email protected]>
Co-authored-by: James Montemagno <[email protected]>
Co-authored-by: Ryan Nowak <[email protected]>
Co-authored-by: jasonviviano <[email protected]>
  • Loading branch information
8 people authored Oct 31, 2023
1 parent b75b295 commit 54b3d4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ env:
VERSION: ${{ github.event.pull_request.number || 'latest' }}
# Use ghcr.io/radius-project/dev for PR build. Otherwise, use ghcr.io/radius-project.
CONTAINER_REGISTRY: ${{ github.event.pull_request.number && 'ghcr.io/radius-project/dev' || 'ghcr.io/radius-project' }}
# Set to true to push images to registry.
PUSH_IMAGE: true


jobs:
build-ghcr:
name: Build and push sample images to GHCR
Expand Down Expand Up @@ -60,5 +58,5 @@ jobs:
uses: docker/build-push-action@v4
with:
context: ./${{ matrix.directory }}
push: ${{ env.PUSH_IMAGE }}
push: ${{ github.event_name == 'push' && true || false }}
tags: ${{ env.CONTAINER_REGISTRY }}/${{ matrix.image }}:${{ env.VERSION }}
6 changes: 0 additions & 6 deletions .github/workflows/validate-bicep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ jobs:
steps:
- name: Check out repo
uses: actions/checkout@v2
- name: az CLI login
run: |
az login --service-principal \
--username ${{ secrets.AZURE_SP_TESTS_APPID }} \
--password ${{ secrets.AZURE_SP_TESTS_PASSWORD }} \
--tenant ${{ secrets.AZURE_SP_TESTS_TENANTID }}
- name: Parse release version and set environment variables
run: python ./.github/scripts/get_docs_version.py
- name: Download rad-bicep
Expand Down

0 comments on commit 54b3d4e

Please sign in to comment.