Build the docker container inside the pipeline.
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 1m21s

This commit is contained in:
Konstantin Hintermayer 2024-07-03 19:34:54 +00:00
parent be9be64dc9
commit 95b9023a8e

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