Avoid external checkout action in Docker workflow
Docker Build / Build Docker image (push) Failing after 5s
Docker Build / Build Docker image (push) Failing after 5s
This commit is contained in:
@@ -24,7 +24,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- 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
|
- name: Prepare Docker tag
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user