test
This commit is contained in:
@@ -4,6 +4,7 @@ on: [push]
|
||||
|
||||
jobs:
|
||||
container-job:
|
||||
name: my first job
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: golang:latest
|
||||
@@ -11,11 +12,9 @@ jobs:
|
||||
GO111MODULE: on
|
||||
GOPROXY: https://goproxy.cn,direct
|
||||
ports:
|
||||
- 80
|
||||
- 8080
|
||||
volumes:
|
||||
- /data:/data
|
||||
options:
|
||||
entrypoint: /bin/sh
|
||||
steps:
|
||||
- name: Check for dockerenv file1
|
||||
run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)
|
||||
|
||||
Reference in New Issue
Block a user