1
0
Fork 0
mirror of https://codeberg.org/ashley/poke.git synced 2024-11-16 18:14:39 -05:00
poke/.drone.yml
2024-06-01 21:18:14 +00:00

19 lines
472 B
YAML

kind: pipeline
type: exec
name: Build and Push Docker Image
platform:
os: linux
arch: arm64
steps:
- name: Build
environment:
CODEBERG_USERNAME:
from_secret: CODEBERG_USERNAME
CODEBERG_PASSWORD:
from_secret: CODEBERG_PASSWORD
commands:
- echo $CODEBERG_PASSWORD | docker login codeberg.org --username $CODEBERG_USERNAME --password-stdin
- docker build -t codeberg.org/korbs/poke:arm64 .
- docker push codeberg.org/korbs/poke:arm64