22 lines
505 B
YAML
22 lines
505 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 file
|
|
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)
|