Removing unused image and fixing the buildx command.

This commit is contained in:
James Wells 2021-05-23 07:37:50 -07:00
parent ab8ff0a2d8
commit 72db0636dc
Signed by: jwells
GPG key ID: 73196D10B8E65666

View file

@ -26,7 +26,6 @@ steps:
alert_type: "info"
- name: Validate code base and dependencies
# image: golang:1.16-alpine3.13
image: dragonheim/golang:1.16.4
volumes:
- name: dockersock
@ -58,7 +57,7 @@ steps:
# - @TODO I really don't know how to do unit tests. Will need to figure this out eventually.
### Build test container.
# - docker buildx build --platform linux/arm/v7,linux/amd64,linux/arm64 --progress plain -t ${DRONE_REPO}:${DRONE_COMMIT} .
# - docker buildx build --platform linux/arm/v7,linux/amd64,linux/arm64 --progress plain -t ${DRONE_REPO}:${DRONE_COMMIT} -f docker/Dockerfile .
- docker buildx build --platform linux/amd64 --progress plain -t ${DRONE_REPO}:${DRONE_COMMIT} -f docker/Dockerfile .
### Run a security check and warn us about lower level vulnerabilities