Files
go_blog/.gitea/workflows/demo.yaml
zhangchao 55cfff9221 test
2024-10-18 00:24:39 +08:00

22 lines
506 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on: [push]
jobs:
container-job:
runs-on: ubuntu-latest
container:
image: golang:latest
env:
GO111MODULE: on
GOPROXY: https://goproxy.cn,direct
ports:
- 80
volumes:
- /data:/data
options:
entrypoint: /bin/sh
steps:
- name: Check for dockerenv file1
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)