Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 26 additions & 24 deletions .github/actions/pull_docker_image/action.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
name: Pull docker image from ghcr
description: Pull docker image from ghcr

inputs:
image:
description: The docker image to pull
required: true
default: kmake-image:latest

github_token:
description: The GitHub token to use for authentication
required: true

runs:
using: "composite"
steps:
- name: Clone kmake-image
run: |
git clone https://github.com/qualcomm-linux/kmake-image.git

- name: Build docker image
run: |
cd kmake-image
docker build . -t kmake-image
name: Pull docker image
description: Pull docker image

inputs:
image:
description: The docker image to pull
required: true
default: kmake-image:latest

github_token:
description: The GitHub token to use for authentication
required: true

runs:
using: "composite"
steps:
- name: Clone kmake-image
shell: bash
run: |
git clone https://github.com/qualcomm-linux/kmake-image.git

- name: Build docker image
shell: bash
run: |
cd kmake-image
docker build . -t kmake-image
41 changes: 19 additions & 22 deletions .github/workflows/pre_merge.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: pre_merge
on:
pull_request_target:
branches:
- qcom-next-staging
pull_request:
branches:
- qcom-next-staging

jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
with:
docker_image: kmake-image:latest

test:
needs: [build]
uses: ./.github/workflows/test.yml
secrets: inherit
with:
docker_image: kmake-image:latest
name: pre_merge
on:
pull_request_target:
branches:
- qcom-next-staging

jobs:
build:
uses: ./.github/workflows/build.yml
secrets: inherit
with:
docker_image: kmake-image:latest

test:
needs: [build]
uses: ./.github/workflows/test.yml
secrets: inherit
with:
docker_image: kmake-image:latest
Loading