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 name: deploy
steps: steps:
- name: docker - name: docker
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
settings: settings:
registry: git.ar21.de
username: username:
from_secret: DOCKER_USERNAME from_secret: REGISTRY_USER
password: password:
from_secret: DOCKER_PASSWORD from_secret: REGISTRY_PASS
repo: aaronriedel/debug repo: git.ar21.de/aaron/debug
tags: latest tags: latest
platforms:
- linux/arm64
- linux/amd64
when: when:
branch: branch:
- main - main
- name: docker-build - name: docker-build
image: plugins/docker image: thegeeklab/drone-docker-buildx
privileged: true
settings: settings:
registry: git.ar21.de
username: username:
from_secret: DOCKER_USERNAME from_secret: REGISTRY_USER
password: password:
from_secret: DOCKER_PASSWORD from_secret: REGISTRY_PASS
repo: aaronriedel/debug repo: git.ar21.de/aaron/debug
tags: latest tags: latest
platforms:
- linux/arm64
- linux/amd64
dry_run: true dry_run: true
when: when:
branch: branch:

View file

@ -1,6 +1,6 @@
FROM amd64/debian:12.5 FROM amd64/debian:12.5
RUN apt-get update -qq 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/lib/apt/lists/*
RUN rm -rf /var/cache/apt/* RUN rm -rf /var/cache/apt/*
ENTRYPOINT ["tail", "-f", "/dev/null"] 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) [![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
```