22 lines
489 B
YAML
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)
|