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