change build to local registry
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Aaron Riedel 2024-05-24 09:50:12 +02:00
parent eae7eae610
commit 9bff6b95ff
Signed by: aaron
GPG key ID: 643004654D40D577
3 changed files with 25 additions and 12 deletions

View file

@ -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:
exclude:
- main
when:
event:

View file

@ -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

View file

@ -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
`git.ar21.de/aaron/kustomize-ci:latest`