Use custom git commands
All checks were successful
build-docker-imge / Build the docker container (push) Successful in 4s

This commit is contained in:
Konstantin Hintermayer 2024-07-03 23:02:15 +02:00
parent 6b7eebbf45
commit 728755443b

View File

@ -9,7 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Print env"
run: echo ${{ gitea }}
run: echo WORKSPACE ${{ GITEA_WORKSPACE }} REPO ${{ GITEA_REPOSITORY }} REF ${{ GITEA_REF }}
- name: "Git clone"
run: git clone ${{ GITEA_REPOSITORY }}
- name: "Git switch"
run: git switch ${{ GITEA_REF }}
# - uses: docker/setup-buildx-action@v3
# name: Setup docker buildx
# - run: docker build . -t git.kocoder.xyz/kocoded/gitea-workspaces:${{ var.GITEA_SHA }}