Skip to content

Commit ed60b11

Browse files
committed
CI: add github workflow to build docker image
1 parent 943d0e6 commit ed60b11

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/workflows/main.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "main"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
name: "Build docker image"
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v2
15+
16+
- uses: actions/setup-go@v2
17+
with:
18+
go-version: '1.17'
19+
20+
- name: Build
21+
run: make build

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/cert-manager/webhook-example
1+
module github.com/vasiliy-t/cert-manager-webhook-vkcloud
22

33
go 1.13
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ import (
1111
"k8s.io/client-go/kubernetes"
1212
"k8s.io/client-go/rest"
1313

14-
"github.com/cert-manager/webhook-example/vkcloud"
1514
"github.com/gophercloud/gophercloud"
1615
"github.com/jetstack/cert-manager/pkg/acme/webhook/apis/acme/v1alpha1"
1716
"github.com/jetstack/cert-manager/pkg/acme/webhook/cmd"
1817
"github.com/jetstack/cert-manager/pkg/issuer/acme/dns/util"
1918
"github.com/pkg/errors"
19+
"github.com/vasiliy-t/cert-manager-webhook-vkcloud/vkcloud"
2020
core "k8s.io/api/core/v1"
2121
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
2222
)

0 commit comments

Comments
 (0)