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 6b7eebbf45 - Show all commits

View File

@@ -8,13 +8,10 @@ jobs:
name: Build the docker container
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: ⬇️ Checking out the repository
with:
ref: ${{ gitea.ref }}
github-server-url: https://git.kocoder.xyz
- uses: docker/setup-buildx-action@v3
name: Setup docker buildx
- run: docker build . -t git.kocoder.xyz/kocoded/gitea-workspaces:${{ var.GITEA_SHA }}
name: Build the docker container
- run: docker push git.kocoder.xyz/kocoded/gitea-workspaces:${{ var.GITEA_SHA }}
- name: "Print env"
run: echo ${{ gitea }}
# - uses: docker/setup-buildx-action@v3
# name: Setup docker buildx
# - run: docker build . -t git.kocoder.xyz/kocoded/gitea-workspaces:${{ var.GITEA_SHA }}
# name: Build the docker container
# - run: docker push git.kocoder.xyz/kocoded/gitea-workspaces:${{ var.GITEA_SHA }}