This commit is contained in:
19
.gitea/workflows/build_container.yml
Normal file
19
.gitea/workflows/build_container.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Build docker container
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build image
|
||||||
|
runs-on: ubuntu
|
||||||
|
container:
|
||||||
|
image: gcr.io/kaniko-project/executor:latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
/kaniko/executor \
|
||||||
|
--context ${{ github.workspace }} \
|
||||||
|
--dockerfile Dockerfile \
|
||||||
|
--destination registry/imagen:tag
|
||||||
Reference in New Issue
Block a user