2024-09-02 13:44:35 +00:00
|
|
|
# https://woodpecker-ci.org/docs/usage/intro
|
2024-09-02 13:38:51 +00:00
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch: feature/working-forgejo-actions
|
|
|
|
#gehen wildcards fuer branch filtering?
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
#image: debian # alpine // docker pull docker.io/library/alpine
|
2024-09-02 13:44:35 +00:00
|
|
|
image: ubuntu:22.04
|
2024-09-02 13:38:51 +00:00
|
|
|
commands:
|
|
|
|
- echo "This is the build step"
|
2024-09-02 13:46:53 +00:00
|
|
|
#wie kann man Bash Shebang nutzen?
|
2024-09-02 13:51:17 +00:00
|
|
|
- echo "echo Woodoo Woodoopecker" > executable
|
2024-09-02 13:46:53 +00:00
|
|
|
#chmod u+x executable
|
2024-09-02 13:38:51 +00:00
|
|
|
- name: a-test-step
|
|
|
|
image: alpine #golang:1.16
|
|
|
|
commands:
|
|
|
|
- echo "Testing ..."
|
2024-09-02 13:52:42 +00:00
|
|
|
- /bin/sh ./executable
|