removed the extra line #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: eve-kernel build | |
on: | |
workflow_dispatch: | |
pull_request_review: | |
types: [ submitted ] | |
push: | |
branches: | |
- "eve-kernel-amd64-v6.1.38-generic" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
packages: | |
runs-on: self-hosted | |
if: ${{ github.event.review.state == 'approved' || github.ref == 'refs/heads/eve-kernel-amd64-v6.1.38-generic' || startsWith(github.ref, 'refs/tags') }} | |
steps: | |
- name: Get eve-kernel | |
uses: actions/checkout@v3 | |
with: | |
ref: "eve-kernel-amd64-v6.1.38-generic" | |
- name: Always build eve-kernel-amd64 | |
run: | | |
make -f Makefile.eve BRANCH?=${GITHUB_REF##*/} kernel-gcc | |
- name: Log in to Docker Hub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }} | |
password: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }} | |
- name: Push eve-kernel-amd64-v6.1.38-generic if PR approved or pushed | |
run: | | |
make -f Makefile.eve BRANCH?=${GITHUB_REF##*/} push-gcc | |