Skip to content

Commit

Permalink
Updating workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
JS Fillman committed Apr 9, 2024
1 parent c1d169d commit 5fba9ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,31 @@ jobs:
if: github.base_ref == 'develop' && github.event.pull_request.merged == false
uses: kbase/.github/.github/workflows/reusable_build.yml@multi-target
with:
platforms: ${{ env.platforms }}
platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
build-develop-merge:
if: github.base_ref == 'develop' && github.event.pull_request.merged == true
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
with:
name: '${{ github.event.repository.name }}-develop'
tags: pr-${{ github.event.number }},latest
platforms: ${{ env.platforms }}
platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
build-main-open:
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == false
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
with:
name: '${{ github.event.repository.name }}'
tags: pr-${{ github.event.number }}
platforms: ${{ env.platforms }}
platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
build-main-merge:
if: (github.base_ref == 'main' || github.base_ref == 'master') && github.event.pull_request.merged == true
uses: kbase/.github/.github/workflows/reusable_build-push.yml@multi-target
with:
name: '${{ github.event.repository.name }}'
tags: pr-${{ github.event.number }},latest-rc
platforms: ${{ env.platforms }}
platforms: "linux/amd64,linux/arm64/v8"
secrets: inherit
trivy-scans:
if: (github.base_ref == 'develop' || github.base_ref == 'main' || github.base_ref == 'master' ) && github.event.pull_request.merged == false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ jobs:
with:
name: '${{ github.event.repository.name }}'
tags: '${{ github.event.release.tag_name }},latest'
platforms: ${{ env.platforms }}
platforms: "linux/amd64,linux/arm64/v8" # ${{ env.platforms }}
secrets: inherit

0 comments on commit 5fba9ce

Please sign in to comment.