Skip to content
This repository has been archived by the owner on Feb 26, 2023. It is now read-only.

Latest commit

 

History

History
44 lines (29 loc) · 782 Bytes

CONTRIBUTING.md

File metadata and controls

44 lines (29 loc) · 782 Bytes

Contributing

Compile binary

On your build system you need an up to date go compiler. Create an executable like this

$ go build -o /tmp/nctalkproxyd cmd/nctalkproxyd/main.go

Create an OCI image

The source code does provide a bash-script to create an OCI format based image. OCI image do allow installation as rootless package

$ bash -x ./build_container.sh

Uploading to Quay.io

Get the container-id to be uploaded:

$ imageid=$(buildah image | grep $botname | awk -F " " '{ print $3 }')

Tag the container to an image:

$ buildah commit $imageid quay.io/username/$botname:latest

Now login to Quay.io:

% podman login quay.io

Finally upload:

$ buildah push quay.io/username/$botname:latest