when:
- event:
- push
- cron
- manual
steps:
- name: build
image: centos:latest
commands:
- echo "FOO=hello" >> envvars
- echo "BAR=world" >> envvars
- name: debug
image: ubuntu:latest
entrypoint: ["/bin/bash", "-c", "echo $CI_SCRIPT | base64 -d | /bin/bash -e"]
commands:
- source envvars
- echo $FOO
labels:
backend: docker
hostname: gitea
woodpecker ci build step image
also work in docker backend
I change entrypoint to avoid the /bin/sh: 17: source: not found
Error