Skip to content

Commit

Permalink
Fix the docker repository reference in use to mirror docker hub (open…
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme authored Dec 2, 2022
1 parent cd93125 commit d43aa5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ build-linux-image:
- ARCH: [amd64, arm64, ppc64le]
retry: 2
script:
- make docker-otelcol ARCH=${ARCH} DOCKER_REPO=${DOCKER_CICD_REPO} SKIP_COMPILE=true
- make docker-otelcol ARCH=${ARCH} DOCKER_REPO=${DOCKER_HUB_REPO} SKIP_COMPILE=true
- arch=$( docker inspect --format='{{.Architecture}}' otelcol:${ARCH} )
- if [[ "$arch" != "$ARCH" ]]; then exit 1; fi
after_script:
Expand Down Expand Up @@ -777,7 +777,7 @@ cve-scan:
docker load -i dist/otelcol-amd64.tar
docker tag otelcol:amd64 otelcol:latest
else
make docker-otelcol DOCKER_REPO=${DOCKER_CICD_REPO}
make docker-otelcol DOCKER_REPO=${DOCKER_HUB_REPO}
fi
- docker scan --accept-license --login --token ${SNYK_AUTH_TOKEN}
- docker scan --severity high otelcol
Expand Down

0 comments on commit d43aa5e

Please sign in to comment.