Skip to content
This repository was archived by the owner on May 8, 2022. It is now read-only.

Commit 407d417

Browse files
committed
Added skaffold + podman support
1 parent eeb06ab commit 407d417

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.16 as builder
2+
FROM docker.io/golang:1.16 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

podman-build

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
echo "Building $IMAGE"
4+
5+
podman build -t $IMAGE .
6+
7+
podman push $IMAGE

skaffold.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ apiVersion: skaffold/v2beta26
22
kind: Config
33
build:
44
artifacts:
5-
- image: widmaster/kubernetes-dbaas # must match in artifactOverrides
5+
- image: widmaster/kubernetes-dbaas # must match in artifactOverrides
6+
custom:
7+
buildCommand: ./podman-build
8+
dependencies:
9+
dockerfile:
10+
path: Dockerfile
611
deploy:
712
helm:
813
releases:

0 commit comments

Comments
 (0)