jx/build/docker/container-image-build.jx.yaml
Matthew Rich a3c2d17c69
Some checks failed
Lint / golangci-lint (push) Failing after 9m56s
Declarative Tests / test (push) Successful in 27s
add docker image build
2024-10-09 23:20:20 +00:00

17 lines
384 B
YAML

---
imports:
- /etc/jx/dockerhub.jx.yaml
resources:
- type: container-image
config: dockerhub
transition: update
attributes:
name: rosskeenhouse/build-golang:1.22.6-alpine
push: true
dockerfile: |-
FROM golang:1.22.6-alpine
COPY . /opt/build
WORKDIR /opt/build
RUN ./jx apply ./alpine.jx.yaml
contextref: file://build/docker/golang/build