mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-23 22:40:58 -05:00
example: container
This commit is contained in:
parent
cdd9a76852
commit
a69ecf9f35
2 changed files with 9 additions and 1 deletions
|
@ -18,7 +18,7 @@ jobs:
|
|||
#
|
||||
./forgejo-runner.sh setup
|
||||
export FORGEJO_RUNNER_LOGS=forgejo-runner.log
|
||||
for example in echo ; do
|
||||
for example in echo container ; do
|
||||
echo "============================ example-$example ==================="
|
||||
./forgejo-test-helper.sh run_workflow testdata/example-$example http://root:admin1234@$(cat forgejo-ip):3000 root example-$example setup-forgejo $(cat forgejo-token)
|
||||
done
|
||||
|
|
8
testdata/example-container/.forgejo/workflows/test.yml
vendored
Normal file
8
testdata/example-container/.forgejo/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
on: [push]
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine:3.18
|
||||
steps:
|
||||
- run: grep Alpine /etc/os-release
|
Loading…
Reference in a new issue