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