poke/.drone.yml

20 lines
460 B
YAML
Raw Normal View History

2024-01-27 01:39:32 +01:00
kind: pipeline
type: exec
2024-01-27 02:07:17 +01:00
name: Build and Push Docker Image (Quay)
2024-01-27 01:39:32 +01:00
platform:
os: linux
arch: amd64
steps:
- name: Build
environment:
QUAY_USERNAME:
from_secret: QUAY_USERNAME
QUAY_PASSWORD:
from_secret: QUAY_PASSWORD
commands:
- npm i
2024-01-27 02:03:02 +01:00
- echo $QUAY_PASSWORD | docker login quay.io --username $QUAY_USERNAME --password-stdin
2024-01-27 02:07:17 +01:00
- docker build -t quay.io/sudovanilla/poketube .
- docker push quay.io/sudovanilla/poketube