move build and registry
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Aaron Riedel 2024-05-22 20:59:45 +02:00
parent 1ea1e07326
commit 154b3e34ae
Signed by: aaron
GPG key ID: 643004654D40D577
3 changed files with 25 additions and 10 deletions

View file

@ -2,26 +2,36 @@ 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/debug
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/debug
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/debug
from_secret: REGISTRY_PASS
repo: git.ar21.de/aaron/debug
tags: latest
platforms:
- linux/arm64
- linux/amd64
dry_run: true
when:
branch:

View file

@ -1,6 +1,6 @@
FROM amd64/debian:12.5
RUN apt-get update -qq
RUN apt-get install -qq curl nmap inetutils-ping iftop --no-install-recommends
RUN apt-get install -qq curl nmap inetutils-ping iftop ldap-utils --no-install-recommends
RUN rm -rf /var/lib/apt/lists/*
RUN rm -rf /var/cache/apt/*
ENTRYPOINT ["tail", "-f", "/dev/null"]

View file

@ -1 +1,6 @@
[![Build Status](https://drone.ar21.de/api/badges/aaron/debug-docker/status.svg)](https://drone.ar21.de/aaron/debug-docker)
use with docker:
```
docker run --rm -it --entrypoint bash --network traefik git.ar21.de/aaron/debug
```