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
|
# Only run if this is a PR comment that contains a valid command
|
||||||
if: |
|
if: |
|
||||||
${{ github.event.issue.pull_request }} &&
|
${{ 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') )
|
|| contains(github.event.comment.body, '/build-image') )
|
||||||
name: Check if commenter is in the Flatcar maintainers team
|
name: Check if commenter is in the Flatcar maintainers team
|
||||||
outputs:
|
outputs:
|
||||||
@ -49,11 +49,11 @@ jobs:
|
|||||||
|
|
||||||
$res
|
$res
|
||||||
|
|
||||||
build_sdk:
|
update_sdk:
|
||||||
needs: check_maintainer_membership
|
needs: check_maintainer_membership
|
||||||
if: ( always() && needs.check_maintainer_membership.result == 'success'
|
if: ( always() && needs.check_maintainer_membership.result == 'success'
|
||||||
&& contains(github.event.comment.body, '/build-sdk') )
|
&& contains(github.event.comment.body, '/update-sdk') )
|
||||||
name: "Build the SDK container"
|
name: "Build an updated SDK container"
|
||||||
# SDK build needs access to bincache ssh secret
|
# SDK build needs access to bincache ssh secret
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
uses: ./.github/workflows/update-sdk.yaml
|
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:
|
jobs:
|
||||||
update_sdk:
|
update_sdk:
|
||||||
name: "Build updated SDK container image"
|
name: "Build an updated SDK container image"
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- debian
|
- debian
|
||||||
|
Loading…
Reference in New Issue
Block a user