Files
go_blog/.gitea/workflows/demo.yaml
2024-10-31 22:32:41 +08:00

22 lines
494 B
YAML

name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on: [push]
jobs:
container-job:
name: my first job test
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)