mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 16:37:01 +02:00
workflows: build_sdk => update_sdk
Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
This commit is contained in:
parent
9b3a67e72b
commit
f71f453950
@ -15,7 +15,7 @@ jobs:
|
||||
# Only run if this is a PR comment that contains a valid command
|
||||
if: |
|
||||
${{ github.event.issue.pull_request }} &&
|
||||
( contains(github.event.comment.body, '/build-sdk')
|
||||
( contains(github.event.comment.body, '/update-sdk')
|
||||
|| contains(github.event.comment.body, '/build-image') )
|
||||
name: Check if commenter is in the Flatcar maintainers team
|
||||
outputs:
|
||||
@ -49,11 +49,11 @@ jobs:
|
||||
|
||||
$res
|
||||
|
||||
build_sdk:
|
||||
update_sdk:
|
||||
needs: check_maintainer_membership
|
||||
if: ( always() && needs.check_maintainer_membership.result == 'success'
|
||||
&& contains(github.event.comment.body, '/build-sdk') )
|
||||
name: "Build the SDK container"
|
||||
&& contains(github.event.comment.body, '/update-sdk') )
|
||||
name: "Build an updated SDK container"
|
||||
# SDK build needs access to bincache ssh secret
|
||||
secrets: inherit
|
||||
uses: ./.github/workflows/update-sdk.yaml
|
||||
|
2
.github/workflows/update-sdk.yaml
vendored
2
.github/workflows/update-sdk.yaml
vendored
@ -32,7 +32,7 @@ permissions:
|
||||
|
||||
jobs:
|
||||
update_sdk:
|
||||
name: "Build updated SDK container image"
|
||||
name: "Build an updated SDK container image"
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- debian
|
||||
|
Loading…
Reference in New Issue
Block a user