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 95b9023a8e - Show all commits

View File

@@ -0,0 +1,17 @@
name: build-docker-imge
on:
- push
- pull_request
jobs:
build:
name: Build the docker container
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: ⬇️ Checking out the repository
- 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 }}