This commit is contained in:
23
.gitea/workflows/docker-build.yaml
Normal file
23
.gitea/workflows/docker-build.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Build & Push Linode Webhook
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docker:
|
||||||
|
runs-on: k8s-dind-runner # Your DinD-enabled Gitea runner
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@v5
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
push: true
|
||||||
|
tags: registry.engen.priv.no/cert-manager-linode-webhook:latest
|
||||||
Reference in New Issue
Block a user