name: Git Checkout desciption: Checkout repository using alpite/git runs: using: composite container: alpine/git steps: - name: Checkout repository uses: addnab/docker-run-action@v3 with: image: alpine/git:latest options: -v ${{ github.workspace }}:/root run: | HOST=$(echo "${{ github.server_url }}" | sed 's%https://%%') URL="https://$GITHUB_TOKEN@$HOST/$GITHUB_REPOSITORY.git" git clone -b "$GITHUB_REF_NAME" "$URL" .