poke/.drone.yml

19 lines
472 B
YAML
Raw Normal View History

2024-01-27 01:39:32 +01:00
kind: pipeline
type: exec
2024-06-01 23:18:14 +02:00
name: Build and Push Docker Image
2024-01-27 01:39:32 +01:00
platform:
os: linux
2024-06-01 23:18:14 +02:00
arch: arm64
2024-01-27 01:39:32 +01:00
steps:
- name: Build
environment:
2024-06-01 23:18:14 +02:00
CODEBERG_USERNAME:
from_secret: CODEBERG_USERNAME
CODEBERG_PASSWORD:
from_secret: CODEBERG_PASSWORD
2024-01-27 01:39:32 +01:00
commands:
2024-06-01 23:18:14 +02:00
- 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