Build the docker container inside the pipeline.
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 1m21s
Some checks failed
build-docker-imge / Build the docker container (push) Failing after 1m21s
This commit is contained in:
parent
be9be64dc9
commit
95b9023a8e
17
.gitea/workflows/release-tag.yml
Normal file
17
.gitea/workflows/release-tag.yml
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user