Skip to content

Commit

Permalink
Merge pull request #3 from yash-zededa/eve-kernel-amd64-v6.1.38-generic
Browse files Browse the repository at this point in the history
updated actions to be triggered for PR builds
  • Loading branch information
eriknordmark authored Oct 12, 2023
2 parents 9f4ce3d + b5426e9 commit c99fcb6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
name: eve-kernel build
on: # yamllint disable-line rule:truthy
pull_request_review:
types: [submitted]
push:
branches:
- "eve-kernel-amd64-v6.1.38-generic"
Expand All @@ -12,6 +14,7 @@ concurrency:
jobs:
packages:
runs-on: self-hosted
if: github.event.review.state == 'approved'
steps:
- name: Get eve-kernel
uses: actions/checkout@v3
Expand All @@ -22,6 +25,10 @@ jobs:
with:
username: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}
password: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }}
- name: Login to DockerHUB
run: |
echo "${{ secrets.RELEASE_DOCKERHUB_TOKEN }}" |\
docker login -u "${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }}" --password-stdin
- name: Build eve-kernel-amd64-v6.1.38-generic
run: |
make -f Makefile.eve BRANCH?=${GITHUB_REF##*/} push-gcc

0 comments on commit c99fcb6

Please sign in to comment.