Skip to content

Commit

Permalink
.gitlab-ci.yml: docker:build
Browse files Browse the repository at this point in the history
  • Loading branch information
alesmrazek committed Nov 18, 2024
1 parent 71b9ddb commit edee452
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,8 @@ build:macOS:
<<: *nodep
image: docker:latest
variables:
DOCKER_HUB_REGISTRY: "cznic/knot-resolver"
GITLAB_REGISTRY: "${CI_REGISTRY}/knot/knot-resolver/cross-platform"
tags:
- amd64
- dind
DOCKER_HUB_REGISTRY: cznic/knot-resolver
GITLAB_REGISTRY: ${CI_REGISTRY}/knot/knot-resolver/cross-platform

docker:build:
<<: *docker
Expand All @@ -216,7 +213,7 @@ docker:build:
script:
- docker buildx build --no-cache -t knot-resolver:${PLATFORM} .
after_script:
- docker rmi knot-resolver:${PLATFORM}
- docker rmi --force knot-resolver:${PLATFORM}
- docker rmi $(docker images -f "dangling=true" -q)
tags:
- ${PLATFORM}
Expand Down

0 comments on commit edee452

Please sign in to comment.