We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23e05dd commit e52b813Copy full SHA for e52b813
4 files changed
apps/with-dockerfile/Dockerfile apps/buildah/go/Dockerfileapps/with-dockerfile/Dockerfile renamed to apps/buildah/go/Dockerfile
apps/with-dockerfile/go.mod apps/buildah/go/go.modapps/with-dockerfile/go.mod renamed to apps/buildah/go/go.mod
apps/with-dockerfile/main.go apps/buildah/go/main.goapps/with-dockerfile/main.go renamed to apps/buildah/go/main.go
apps/buildah/go/function-buildah.yaml apps/buildah/go/sample-go-app.yamlapps/buildah/go/function-buildah.yaml renamed to apps/buildah/go/sample-go-app.yaml
@@ -1,18 +1,18 @@
1
apiVersion: core.openfunction.io/v1beta1
2
kind: Function
3
metadata:
4
- name: function-buildah
+ name: sample-go-app
5
spec:
6
version: "v1.0.0"
7
- image: "openfunctiondev/sample-buildah-go:latest"
+ image: "openfunctiondev/sample-go-app:v1"
8
imageCredentials:
9
name: push-secret
10
#port: 8080 # default to 8080
11
build:
12
builder: openfunction/buildah:v1.23.1
13
srcRepo:
14
url: "https://github.com/OpenFunction/samples.git"
15
- sourceSubPath: "apps/with-dockerfile"
+ sourceSubPath: "apps/buildah/go"
16
revision: "main"
17
shipwright:
18
strategy:
@@ -23,5 +23,5 @@ spec:
23
template:
24
containers:
25
- name: function
26
- imagePullPolicy: Always
+ imagePullPolicy: IfNotPresent
27
0 commit comments