fediverse-blocklist-deploy/.drone.yml
Georg Krause 7ad318bc48
All checks were successful
continuous-integration/drone/push Build is passing
feat: Build docker image in CI
2023-01-18 12:02:56 +01:00

23 lines
439 B
YAML

---
kind: pipeline
type: exec
name: build
platform:
os: linux
arch: arm64
steps:
- name: build
commands:
- docker build -t gcrkrause/mastodon-blocklist-deploy .
- name: push
environment:
USERNAME:
from_secret: docker-hub-user
PASSWORD:
from_secret: docker-hub-pw
commands:
- docker login -u $USERNAME -p $PASSWORD
- docker push gcrkrause/mastodon-blocklist-deploy
- docker image prune -a -f