ffs
This commit is contained in:
parent
5f017ff96e
commit
ab68a2101c
1 changed files with 17 additions and 13 deletions
|
|
@ -1,15 +1,19 @@
|
||||||
when:
|
kind: pipeline
|
||||||
- event: push
|
name: build-and-push
|
||||||
branch: main
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build-image
|
||||||
image: debian
|
# This plugin handles the DinD complexity for you
|
||||||
commands:
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
- echo "This is the build step"
|
privileged: true # Required for the plugin to start its internal Docker engine
|
||||||
- echo "binary-data-123" > executable
|
settings:
|
||||||
- name: a-test-step
|
registry: registry.coolify1.workaround.org
|
||||||
image: golang:1.16
|
repo: registry.coolify1.workaround.org/debshots
|
||||||
commands:
|
dockerfile: Dockerfile
|
||||||
- echo "Testing ..."
|
username:
|
||||||
- ./executable
|
from_secret: REGISTRY_USER
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_PASSWORD
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA:0:7}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue