51 lines
1.1 KiB
YAML
51 lines
1.1 KiB
YAML
# kind: pipeline
|
|
# name: testing
|
|
# type: docker
|
|
|
|
# steps:
|
|
# - name: Test
|
|
# image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
# commands:
|
|
# - sed -i "s/127\.0\.0\.1/database/g" ./src/Tests/BirdsiteLive.DAL.Postgres.Tests/DataAccessLayers/Base/PostgresTestingBase.cs
|
|
# - dotnet test --verbosity minimal ./src
|
|
|
|
# services:
|
|
# - name: database
|
|
# image: postgres:15
|
|
# environment:
|
|
# POSTGRES_USER: birdsitelive
|
|
# POSTGRES_PASSWORD: birdsitelive
|
|
# POSTGRES_DB: birdsitelive
|
|
|
|
# ---
|
|
kind: pipeline
|
|
name: docker-publish
|
|
type: docker
|
|
|
|
# depends_on:
|
|
# - testing
|
|
|
|
steps:
|
|
- name: Build & Publish
|
|
privileged: true
|
|
image: quay.io/thegeeklab/drone-docker-buildx
|
|
settings:
|
|
auto_tag: true
|
|
tags:
|
|
- makeup
|
|
repo: git.froth.zone/sam/birdsitelive
|
|
registry: git.froth.zone
|
|
username: sam
|
|
password:
|
|
from_secret: password
|
|
platforms:
|
|
- linux/amd64
|
|
- linux/arm64
|
|
when:
|
|
branch:
|
|
- master
|
|
- makeup
|
|
event:
|
|
- push
|
|
depends_on:
|
|
- "clone"
|