ci container build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
n0vember 2024-03-12 01:49:32 +01:00
parent d4bb287b4a
commit 938035a80a
No known key found for this signature in database
GPG Key ID: 8ECF21687C8F8994

View File

@ -33,7 +33,13 @@ steps:
- name: dockersock - name: dockersock
path: /var/run path: /var/run
environment: environment:
REGISTRY: git.half-9.net
USER: n0vember
OWNER: containers
IMAGE: pihole-exporter
TAG: latest
TOKEN: TOKEN:
from_secret: registry_token from_secret: registry_token
commands: commands:
- docker login --username="n0vember" --password="$TOKEN" git.half-9.net - docker login --username="$USER" --password="$TOKEN" git.half-9.net
- docker build -t $REGISTRY/$OWNER/$IMAGE:$TAG .