diff --git a/.github/workflows/test-action-tuf.yaml b/.github/workflows/test-action-tuf.yaml index deb8109b6..5fa0fe378 100644 --- a/.github/workflows/test-action-tuf.yaml +++ b/.github/workflows/test-action-tuf.yaml @@ -18,7 +18,7 @@ concurrency: jobs: test-github-action: name: Test github action with TUF - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 strategy: fail-fast: false # Keep running if one leg fails. matrix: diff --git a/actions/setup/action.yml b/actions/setup/action.yml index 289224181..fe53c847c 100644 --- a/actions/setup/action.yml +++ b/actions/setup/action.yml @@ -84,7 +84,7 @@ runs: # Configure DockerHub mirror tmp=$(mktemp) if [ ! -f /etc/docker/daemon.json ]; then - echo '{}' > /etc/docker/daemon.json + echo '{}' | sudo tee /etc/docker/daemon.json fi jq '."registry-mirrors" = ["https://mirror.gcr.io"]' /etc/docker/daemon.json > "$tmp" sudo mv "$tmp" /etc/docker/daemon.json