diff --git a/.gitea/workflows/build-and-push.yml b/.gitea/workflows/build-and-push.yml index 2c2abd1..7c8832e 100644 --- a/.gitea/workflows/build-and-push.yml +++ b/.gitea/workflows/build-and-push.yml @@ -23,7 +23,13 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + run: | + apk add --no-cache git + GITEA_HOST="${{ gitea.server_url }}" + GITEA_HOST="${GITEA_HOST#https://}" + GITEA_HOST="${GITEA_HOST#http://}" + git clone "https://oauth2:${{ secrets.GITEA_TOKEN }}@${GITEA_HOST}/${{ gitea.repository }}.git" . + git checkout ${{ gitea.sha }} - name: Log in to Gitea registry run: | diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file