change build to local registry
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
eae7eae610
commit
9bff6b95ff
3 changed files with 25 additions and 12 deletions
30
.drone.yml
30
.drone.yml
|
@ -2,30 +2,40 @@ kind: pipeline
|
|||
name: deploy
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: aaronriedel/kustomize-ci
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/aaron/kustomize-ci
|
||||
tags: latest
|
||||
platforms:
|
||||
- linux/arm64
|
||||
- linux/amd64
|
||||
when:
|
||||
branch:
|
||||
- main
|
||||
- name: docker-build
|
||||
image: plugins/docker
|
||||
image: thegeeklab/drone-docker-buildx
|
||||
privileged: true
|
||||
settings:
|
||||
registry: git.ar21.de
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: DOCKER_PASSWORD
|
||||
repo: aaronriedel/kustomize-ci
|
||||
from_secret: REGISTRY_PASS
|
||||
repo: git.ar21.de/aaron/kustomize-ci
|
||||
tags: latest
|
||||
platforms:
|
||||
- linux/arm64
|
||||
- linux/amd64
|
||||
dry_run: true
|
||||
when:
|
||||
exclude:
|
||||
branch:
|
||||
branch:
|
||||
exclude:
|
||||
- main
|
||||
when:
|
||||
event:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM amd64/alpine:3.20.0
|
||||
FROM alpine:3.20.0
|
||||
RUN apk add --no-cache git curl bash
|
||||
RUN curl -s https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh | bash
|
||||
RUN mv /kustomize /bin/kustomize
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
[![Build Status](https://drone.ar21.de/api/badges/aaron/kustomize-ci/status.svg)](https://drone.ar21.de/aaron/kustomize-ci)
|
||||
# kustomize-ci Image
|
||||
|
||||
Alpine + git + kustomize
|
||||
Alpine + git + kustomize
|
||||
|
||||
`git.ar21.de/aaron/kustomize-ci:latest`
|
Loading…
Reference in a new issue