mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Restore permission to make script work We need to rework this, but until then things has to work. * Permission issuers * We don't try to cancel previous as it doesn't work * Update * Renaming, remove deprecated * Add comments * Prevent running scorecard on forks * Update
35 lines
665 B
YAML
35 lines
665 B
YAML
name: Update Docker
|
|
#
|
|
# Update Docker images we use for building CI
|
|
#
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 0'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
|
|
Docker:
|
|
permissions:
|
|
contents: none
|
|
if: ${{ github.repository_owner == 'Armbian' }}
|
|
uses: armbian/scripts/.github/workflows/update-docker-image.yml@master
|
|
|
|
secrets:
|
|
CR_PAT: ${{ secrets.CR_PAT }}
|
|
|
|
Docker-test:
|
|
permissions:
|
|
contents: none
|
|
needs: Docker
|
|
if: ${{ github.repository_owner == 'Armbian' }}
|
|
uses: armbian/scripts/.github/workflows/build-test-image-docker.yml@master
|
|
with:
|
|
|
|
runner: "ubuntu-latest"
|
|
reference: master
|