Set new CI pipeline as default. (#2891)

* Set new CI pipeline as default.

* cleanup
This commit is contained in:
Igor Pečovnik 2021-06-10 11:03:49 +02:00 committed by GitHub
parent a0d2db2ace
commit 863a009461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 26 deletions

View File

@ -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:

View File

@ -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

View File

@ -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