parent
3feec440e5
commit
5f017ff96e
1 changed files with 13 additions and 16 deletions
|
|
@ -1,18 +1,15 @@
|
|||
kind: pipeline
|
||||
name: default
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
- name: build-and-push
|
||||
image: appleboy/drone-docker # This plugin handles the "Inception" part for you
|
||||
settings:
|
||||
registry: registry.coolify1.workaround.org
|
||||
repo: registry.coolify1.workaround.org/debshots
|
||||
username:
|
||||
from_secret: REGISTRY_USER
|
||||
password:
|
||||
from_secret: REGISTRY_PASSWORD
|
||||
dockerfile: Dockerfile
|
||||
tags:
|
||||
- latest
|
||||
- ${CI_COMMIT_SHA:0:7} # Clean short-hash tagging
|
||||
# This plugin automatically uses a dedicated volume for caching layers
|
||||
- name: build
|
||||
image: debian
|
||||
commands:
|
||||
- echo "This is the build step"
|
||||
- echo "binary-data-123" > executable
|
||||
- name: a-test-step
|
||||
image: golang:1.16
|
||||
commands:
|
||||
- echo "Testing ..."
|
||||
- ./executable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue