Skip to content

Commit 6a9f61b

Browse files
author
Mark Saroufim
committed
Add workspace cleanup step before checkout in AMD Docker build
Fixes EACCES errors from root-owned files left by previous container runs.
1 parent 5f292e1 commit 6a9f61b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish_amd_docker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
contents: read
1717
packages: write
1818
steps:
19+
- name: Clean workspace
20+
run: sudo rm -rf "$GITHUB_WORKSPACE"/*
1921
- name: Checkout repository
2022
uses: actions/checkout@v3
2123
- name: Log in to the Container registry

0 commit comments

Comments
 (0)