mirror of
https://github.com/armbian/shallow.git
synced 2026-01-06 10:38:03 -08:00
Update external actions
This commit is contained in:
15
.github/workflows/git-trees-oras.yml
vendored
15
.github/workflows/git-trees-oras.yml
vendored
@@ -9,7 +9,9 @@ jobs:
|
||||
|
||||
git-trees:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
|
||||
- name: Free Github Runner
|
||||
uses: descriptinc/free-disk-space@main
|
||||
@@ -22,16 +24,18 @@ jobs:
|
||||
swap-storage: true
|
||||
|
||||
- name: Docker Login to GitHub Container Registry
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }} # GitHub username or org
|
||||
password: ${{ secrets.GITHUB_TOKEN }} # GitHub actions builtin token. repo has to have pkg access.
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: gautamkrishnar/keepalive-workflow@v1
|
||||
- uses: gautamkrishnar/keepalive-workflow@v2
|
||||
with:
|
||||
use_api: true
|
||||
|
||||
- name: Test ORAS, Tokens, Logins, etc
|
||||
env:
|
||||
@@ -43,7 +47,7 @@ jobs:
|
||||
bash oras_upload.sh
|
||||
|
||||
- name: Cache git worktree
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: /tmp/workdir/kernel/worktree
|
||||
key: ${{ runner.os }}-kernel-worktree-${{ github.sha }}
|
||||
@@ -70,7 +74,6 @@ jobs:
|
||||
echo "::endgroup::"
|
||||
done
|
||||
|
||||
|
||||
- name: Upload single complete tree to ghcr.io via ORAS
|
||||
env:
|
||||
TARGET_OCI: "ghcr.io/${{ github.repository }}/kernel-git:latest"
|
||||
|
||||
Reference in New Issue
Block a user