Avoid external checkout action in Docker workflow
Docker Build / Build Docker image (push) Failing after 5s

This commit is contained in:
unknown
2026-06-10 12:40:43 +09:00
parent 67864994aa
commit 018a7d5f9b
+6 -1
View File
@@ -24,7 +24,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
shell: bash
run: |
git init .
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git fetch --depth 1 origin "${GITHUB_REF}"
git checkout --force "${GITHUB_SHA}"
- name: Prepare Docker tag
shell: bash