24 lines
531 B
YAML
24 lines
531 B
YAML
|
#
|
||
|
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
|
||
|
image ubuntu:22.04
|
||
|
commands:
|
||
|
- echo "This is the build step"
|
||
|
- cat << EOF > simple-shell-test.sh
|
||
|
#!/bin/bash
|
||
|
echo 'ich bin keine Katze'
|
||
|
cat 'und auch kein Hund'
|
||
|
ls -la /
|
||
|
EOF
|
||
|
#chmod u+x executable
|
||
|
- name: a-test-step
|
||
|
image: alpine #golang:1.16
|
||
|
commands:
|
||
|
- echo "Testing ..."
|
||
|
- ./executable
|