This commit is contained in:
zhangchao
2024-10-18 00:04:15 +08:00
parent 045fe99f82
commit 2673472a1e

View File

@@ -17,4 +17,18 @@ jobs:
run: |
ls ${{ gitea.workspace }}
- run: echo "This job's status is ${{ job.status }}."
container-job:
runs-on: ubuntu-latest
container: 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)