Introduce gitea-actions to automatically build this container #8

Merged
Kocoder merged 47 commits from gitea-actions into main 2024-08-04 21:06:54 +00:00
Showing only changes of commit 728755443b - Show all commits

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 }}