Update external actions

This commit is contained in:
Igor
2024-03-27 07:57:12 +01:00
committed by GitHub
parent e3fdbddb93
commit af6b7f1094

View File

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