trying gitlab ci/cd again

This commit is contained in:
Hamza Ahmed
2022-05-27 12:45:50 +01:00
parent 55504ac43c
commit 699995cc2f
+15
View File
@@ -0,0 +1,15 @@
image: jdrouet/docker-with-buildx:stable
variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
services:
- docker:dind
build:
stage: build
script:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- docker buildx create --use
- docker buildx build --platform linux/arm64 -t dockeregistry.ahmza.com/blog:latest --push .