This commit is contained in:
parent
1ea1e07326
commit
154b3e34ae
3 changed files with 25 additions and 10 deletions
26
.drone.yml
26
.drone.yml
|
@ -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:
|
||||||
|
|
|
@ -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"]
|
|
@ -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
|
||||||
|
```
|
Loading…
Reference in a new issue