Files
blog-ahmza-com/.gitlab-ci.yml
T

18 lines
450 B
YAML

image: jdrouet/docker-with-buildx:stable
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
services:
- docker:dind
build:
stage: build
script:
- echo $DOCKER_PASSWORD | docker login dockeregistry.ahmza.com -u "$DOCKER_USERNAME" --password-stdin
- docker buildx create --use
- docker buildx build --no-cache --platform linux/arm64,linux/amd64 -t dockeregistry.ahmza.com/blog:latest --push .
only:
- main