Files
go_blog/.gitea/workflows/demo.yaml
zhangchao 254eee4914 test go
2024-10-24 11:26:36 +08:00

22 lines
489 B
YAML

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