Some checks failed
build-docker-imge / Build the docker container (push) Failing after 38s
20 lines
625 B
YAML
20 lines
625 B
YAML
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
|
|
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 }} |