Use local Gitea checkout in workflow
Build and push image / build (push) Successful in 2m33s

This commit is contained in:
alexandrev-tibco
2026-05-03 11:59:44 +02:00
parent aa1d59a65c
commit 8f904b233d
+8 -1
View File
@@ -15,7 +15,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
run: |
AUTH="$(printf '%s:%s' '${{ secrets.REGISTRY_USERNAME }}' '${{ secrets.REGISTRY_TOKEN }}' | base64 -w0)"
echo "::add-mask::${AUTH}"
git init .
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}"
git -c "http.extraHeader=Authorization: Basic ${AUTH}" \
fetch --depth=1 origin "${GITHUB_SHA}"
git checkout --detach FETCH_HEAD
- name: Set image tags
id: meta