File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 41
41
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
42
42
jobs :
43
43
# This workflow contains a single job called "build"
44
- build :
44
+ build-aws :
45
45
# The type of runner that the job will run on
46
46
runs-on : ubuntu-latest
47
47
@@ -104,6 +104,24 @@ jobs:
104
104
docker buildx build --platform linux/arm64/v8,linux/amd64 -t $ECR_REGISTRY/$REGISTRY_ALIAS/mirror-api-logging:$IMAGE_TAG -f Dockerfile.eBPF . --push
105
105
echo "::set-output name=image::$ECR_REGISTRY/$REGISTRY_ALIAS/mirror-api-logging:$IMAGE_TAG"
106
106
107
+ build-docker :
108
+ # The type of runner that the job will run on
109
+ runs-on : ubuntu-latest
110
+
111
+ # Steps represent a sequence of tasks that will be executed as part of the job
112
+ steps :
113
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
114
+ - uses : actions/checkout@v2
115
+ - uses : actions/setup-go@v2
116
+ with :
117
+ go-version : ' ^1.16.1' # The Go version to download (if necessary) and use.
118
+ - name : install required packages
119
+ if : ${{ github.event.inputs.Module == 'legacy' }}
120
+ run : sudo apt install libpcap-dev expect
121
+ - name : build go module
122
+ if : ${{ github.event.inputs.Module == 'legacy' }}
123
+ run : go build -o ./mirroring-api-logging
124
+
107
125
- name : DockerHub login
108
126
if : ${{ github.event.inputs.Environment == 'prod' }}
109
127
env :
You can’t perform that action at this time.
0 commit comments