File tree Expand file tree Collapse file tree 2 files changed +45
-46
lines changed
actions/pull_docker_image Expand file tree Collapse file tree 2 files changed +45
-46
lines changed Original file line number Diff line number Diff line change 1- name : Pull docker image from ghcr
2- description : Pull docker image from ghcr
3-
4- inputs :
5- image :
6- description : The docker image to pull
7- required : true
8- default : kmake-image:latest
9-
10- github_token :
11- description : The GitHub token to use for authentication
12- required : true
13-
14- runs :
15- using : " composite"
16- steps :
17- - name : Clone kmake-image
18- run : |
19- git clone https://github.com/qualcomm-linux/kmake-image.git
20-
21- - name : Build docker image
22- run : |
23- cd kmake-image
24- docker build . -t kmake-image
1+ name : Pull docker image
2+ description : Pull docker image
3+
4+ inputs :
5+ image :
6+ description : The docker image to pull
7+ required : true
8+ default : kmake-image:latest
9+
10+ github_token :
11+ description : The GitHub token to use for authentication
12+ required : true
13+
14+ runs :
15+ using : " composite"
16+ steps :
17+ - name : Clone kmake-image
18+ shell : bash
19+ run : |
20+ git clone https://github.com/qualcomm-linux/kmake-image.git
21+
22+ - name : Build docker image
23+ shell : bash
24+ run : |
25+ cd kmake-image
26+ docker build . -t kmake-image
Original file line number Diff line number Diff line change 1- name : pre_merge
2- on :
3- pull_request_target :
4- branches :
5- - qcom-next-staging
6- pull_request :
7- branches :
8- - qcom-next-staging
9-
10- jobs :
11- build :
12- uses : ./.github/workflows/build.yml
13- secrets : inherit
14- with :
15- docker_image : kmake-image:latest
16-
17- test :
18- needs : [build]
19- uses : ./.github/workflows/test.yml
20- secrets : inherit
21- with :
22- docker_image : kmake-image:latest
1+ name : pre_merge
2+ on :
3+ pull_request_target :
4+ branches :
5+ - qcom-next-staging
6+
7+ jobs :
8+ build :
9+ uses : ./.github/workflows/build.yml
10+ secrets : inherit
11+ with :
12+ docker_image : kmake-image:latest
13+
14+ test :
15+ needs : [build]
16+ uses : ./.github/workflows/test.yml
17+ secrets : inherit
18+ with :
19+ docker_image : kmake-image:latest
You can’t perform that action at this time.
0 commit comments