Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Action error when building docker container #3

Open
DevopsMercenary opened this issue Feb 3, 2023 · 0 comments
Open

Github Action error when building docker container #3

DevopsMercenary opened this issue Feb 3, 2023 · 0 comments

Comments

@DevopsMercenary
Copy link

I copied the Scheduler Example and that's the error I'm getting.

2023-02-03T14:52:50.3075214Z Getting action download info
2023-02-03T14:52:50.6930006Z Download action repository 'actions/checkout@v3' (SHA:ac593985615ec2ede58e132d2e21d2b1cbd6127c)
2023-02-03T14:52:51.3967727Z Download action repository 'hecateapp/comply-action@master' (SHA:b05f47dee96fc5824864a9dc4c00a1f8126dce11)
2023-02-03T14:52:51.9192097Z Download action repository 'Azure/static-web-apps-deploy@v1' (SHA:5c50db0011c6423f073843e7e22c3d0cb6c53920)
2023-02-03T14:52:52.4766656Z Complete job name: Build and Deploy Job
2023-02-03T14:52:52.5589847Z ##[group]Build container for action use: '/home/runner/work/_actions/hecateapp/comply-action/master/Dockerfile'.
2023-02-03T14:52:52.5689669Z ##[command]/usr/bin/docker build -t 49859c:63e67dd8ffe742c0933ef6421deb6be8 -f "/home/runner/work/_actions/hecateapp/comply-action/master/Dockerfile" "/home/runner/work/_actions/hecateapp/comply-action/master"
2023-02-03T14:52:52.7867439Z Sending build context to Docker daemon  9.216kB
2023-02-03T14:52:52.7871411Z 
2023-02-03T14:52:52.8321516Z Step 1/4 : FROM golang:latest
2023-02-03T14:52:53.8718536Z latest: Pulling from library/golang
2023-02-03T14:52:54.1402170Z bbeef03cda1f: Already exists
2023-02-03T14:52:54.1454435Z f049f75f014e: Already exists
2023-02-03T14:52:54.1492715Z 56261d0e6b05: Already exists
2023-02-03T14:52:54.1537219Z 9bd150679dbd: Already exists
2023-02-03T14:52:54.1581184Z bfcb68b5bd10: Pulling fs layer
2023-02-03T14:52:54.1582581Z 9a8ca04f4e78: Pulling fs layer
2023-02-03T14:52:54.1583384Z 24c88dfe5f5b: Pulling fs layer
2023-02-03T14:52:54.4125541Z 24c88dfe5f5b: Verifying Checksum
2023-02-03T14:52:54.4129756Z 24c88dfe5f5b: Download complete
2023-02-03T14:52:55.1741599Z bfcb68b5bd10: Verifying Checksum
2023-02-03T14:52:55.1745455Z bfcb68b5bd10: Download complete
2023-02-03T14:52:55.2043437Z 9a8ca04f4e78: Verifying Checksum
2023-02-03T14:52:55.2044391Z 9a8ca04f4e78: Download complete
2023-02-03T14:52:59.8288079Z bfcb68b5bd10: Pull complete
2023-02-03T14:53:05.6452844Z 9a8ca04f4e78: Pull complete
2023-02-03T14:53:05.7179033Z 24c88dfe5f5b: Pull complete
2023-02-03T14:53:05.7244574Z Digest: sha256:f69d47fedd3b2ebd23bcf473c0b78522ebbc1823f06b7d47f45f04a30bdc901d
2023-02-03T14:53:05.7279737Z Status: Downloaded newer image for golang:latest
2023-02-03T14:53:05.7298126Z  ---> 6dea13221060
2023-02-03T14:53:05.7299415Z Step 2/4 : RUN go get github.com/strongdm/comply
2023-02-03T14:53:05.7655249Z  ---> Running in 0a71706f4d0d
2023-02-03T14:53:06.1301450Z �[91mgo: go.mod file not found in current directory or any parent directory.
2023-02-03T14:53:06.1302033Z 	'go get' is no longer supported outside a module.
2023-02-03T14:53:06.1302395Z 	To build and install a command, use 'go install' with a version,
2023-02-03T14:53:06.1303894Z 	like 'go install example.com/cmd@latest'
2023-02-03T14:53:06.1304310Z 	For more information, see https://golang.org/doc/go-get-install-deprecation
2023-02-03T14:53:06.1304686Z 	or run 'go help get' or 'go help install'.
2023-02-03T14:53:06.2626705Z The command '/bin/sh -c go get github.com/strongdm/comply' returned a non-zero code: 1
2023-02-03T14:53:06.2636042Z �[0m
2023-02-03T14:53:06.2661968Z ##[warning]Docker build failed with exit code 1, back off 5.742 seconds before retry.
2023-02-03T14:53:12.0106555Z ##[command]/usr/bin/docker build -t 49859c:63e67dd8ffe742c0933ef6421deb6be8 -f "/home/runner/work/_actions/hecateapp/comply-action/master/Dockerfile" "/home/runner/work/_actions/hecateapp/comply-action/master"
2023-02-03T14:53:12.0340413Z Sending build context to Docker daemon  9.216kB
2023-02-03T14:53:12.0342670Z 
2023-02-03T14:53:12.0817231Z Step 1/4 : FROM golang:latest
2023-02-03T14:53:12.0820426Z  ---> 6dea13221060
2023-02-03T14:53:12.0823316Z Step 2/4 : RUN go get github.com/strongdm/comply
2023-02-03T14:53:12.1071268Z  ---> Running in f952fb8fdc8d
2023-02-03T14:53:12.3861164Z �[91mgo: go.mod file not found in current directory or any parent directory.
2023-02-03T14:53:12.3861597Z 	'go get' is no longer supported outside a module.
2023-02-03T14:53:12.3861954Z 	To build and install a command, use 'go install' with a version,
2023-02-03T14:53:12.3862291Z 	like 'go install example.com/cmd@latest'
2023-02-03T14:53:12.3862680Z 	For more information, see https://golang.org/doc/go-get-install-deprecation
2023-02-03T14:53:12.3863062Z 	or run 'go help get' or 'go help install'.
2023-02-03T14:53:12.5209931Z The command '/bin/sh -c go get github.com/strongdm/comply' returned a non-zero code: 1
2023-02-03T14:53:12.5234515Z �[0m
2023-02-03T14:53:12.5236923Z ##[warning]Docker build failed with exit code 1, back off 8.334 seconds before retry.
2023-02-03T14:53:20.8569149Z ##[command]/usr/bin/docker build -t 49859c:63e67dd8ffe742c0933ef6421deb6be8 -f "/home/runner/work/_actions/hecateapp/comply-action/master/Dockerfile" "/home/runner/work/_actions/hecateapp/comply-action/master"
2023-02-03T14:53:20.8816501Z Sending build context to Docker daemon  9.216kB
2023-02-03T14:53:20.8817187Z 
2023-02-03T14:53:20.9309611Z Step 1/4 : FROM golang:latest
2023-02-03T14:53:20.9312886Z  ---> 6dea13221060
2023-02-03T14:53:20.9313561Z Step 2/4 : RUN go get github.com/strongdm/comply
2023-02-03T14:53:20.9565537Z  ---> Running in dec9dba8e165
2023-02-03T14:53:21.1878287Z �[91mgo: go.mod file not found in current directory or any parent directory.
2023-02-03T14:53:21.1878723Z 	'go get' is no longer supported outside a module.
2023-02-03T14:53:21.1879063Z 	To build and install a command, use 'go install' with a version,
2023-02-03T14:53:21.1879415Z 	like 'go install example.com/cmd@latest'
2023-02-03T14:53:21.1879828Z 	For more information, see https://golang.org/doc/go-get-install-deprecation
2023-02-03T14:53:21.1880206Z 	or run 'go help get' or 'go help install'.
2023-02-03T14:53:21.3141586Z The command '/bin/sh -c go get github.com/strongdm/comply' returned a non-zero code: 1
2023-02-03T14:53:21.3155223Z �[0m
2023-02-03T14:53:21.3163739Z ##[endgroup]
2023-02-03T14:53:21.3298259Z ##[error]Docker build failed with exit code 1
2023-02-03T14:53:21.3652594Z Cleaning up orphan processes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant