Set new CI pipeline as default. (#2891)
* Set new CI pipeline as default. * cleanup
This commit is contained in:
parent
a0d2db2ace
commit
863a009461
@ -1,16 +1,13 @@
|
||||
name: Armbian CI
|
||||
name: Build
|
||||
|
||||
on:
|
||||
# schedule:
|
||||
# - cron: '*/15 * * * *'
|
||||
schedule:
|
||||
- cron: '0 */8 * * *'
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
# push:
|
||||
# branches: master
|
||||
|
||||
# schedule:
|
||||
# - cron: '0 */3 * * *'
|
||||
push:
|
||||
branches: master
|
||||
|
||||
jobs:
|
||||
|
||||
15
.github/workflows/cron-beta-repository.yaml
vendored
15
.github/workflows/cron-beta-repository.yaml
vendored
@ -1,15 +0,0 @@
|
||||
name: Build
|
||||
on:
|
||||
push:
|
||||
branches: master
|
||||
schedule:
|
||||
- cron: '0 */3 * * *'
|
||||
jobs:
|
||||
build:
|
||||
runs-on: [runner2]
|
||||
if: ${{ github.repository_owner == 'Armbian' }}
|
||||
steps:
|
||||
- name: Run script
|
||||
shell: bash {0}
|
||||
run: |
|
||||
run-one ./beta-repository.sh
|
||||
@ -1,17 +1,24 @@
|
||||
name: Docker build tests
|
||||
name: Docker hub build
|
||||
# This workflow is triggered 1st, 16th and 31st
|
||||
on:
|
||||
|
||||
schedule:
|
||||
- cron: '0 0 */15 * *'
|
||||
|
||||
jobs:
|
||||
build_on_focal:
|
||||
name: "PUB: sunxi u-boot Docker Focal"
|
||||
|
||||
build:
|
||||
|
||||
name "Build Docker image"
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.repository_owner == 'Armbian' }}
|
||||
steps:
|
||||
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Login to DockerHub Registry
|
||||
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
|
||||
|
||||
- name: Build Docker image
|
||||
shell: bash {0}
|
||||
run: |
|
||||
@ -19,5 +26,6 @@ jobs:
|
||||
touch .ignore_changes
|
||||
./compile.sh docker KERNEL_ONLY="yes" BOARD="bananapi" BRANCH="current" KERNEL_CONFIGURE="no" USE_TORRENT="yes" REPOSITORY_INSTALL="kernel"
|
||||
docker tag armbian:$(cat VERSION) armbian/build:latest
|
||||
|
||||
- name: Push Docker image
|
||||
run: docker push armbian/build:latest
|
||||
Loading…
Reference in New Issue
Block a user