From 7af4061640c61e82d82a1d8042200f04052b7ef0 Mon Sep 17 00:00:00 2001 From: zhangchao Date: Thu, 17 Oct 2024 23:46:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=AE=B9=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/demo.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index d59bcbc..38686ac 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -16,4 +16,16 @@ jobs: - name: List files in the repository run: | ls ${{ gitea.workspace }} - - run: echo "This job's status is ${{ job.status }}." \ No newline at end of file + - 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:80 + volumes: + - /data:/data + options: + entrypoint: /bin/sh