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