switch to chainguard images

This commit is contained in:
Seraphim Strub 2024-02-12 17:03:15 +00:00
parent 4e3e775dc5
commit 1c2c1b311b
3 changed files with 7 additions and 13 deletions

View file

@ -15,7 +15,7 @@
tag=":$CI_COMMIT_REF_SLUG"
echo "Running on branch '$CI_COMMIT_BRANCH': tag = $tag"
fi
- docker build --pull --build-arg GO_CMD=${GO_CMD} -t "$CI_REGISTRY_IMAGE/${GO_CMD}${tag}" .
- docker build --pull --build-arg GO_CMD=${GO_CMD} -t "$CI_REGISTRY_IMAGE/${GO_CMD}${tag}" . -f Containerfile
- docker push "$CI_REGISTRY_IMAGE/${GO_CMD}${tag}"
# Run this job in a branch where a Dockerfile exists
rules:
@ -24,6 +24,7 @@
- cmd/${GO_CMD}/*/**
- cmd/${GO_CMD}/*
- go.mod
- Containerfile
funbot:
stage: build
@ -78,4 +79,4 @@ pages:
rules:
- if: $CI_COMMIT_BRANCH
changes:
- cmd/domaincheckbot/config/domain.json
- cmd/domaincheckbot/config/domain.json