Skip to content

Instantly share code, notes, and snippets.

View maximgubar's full-sized avatar
🎯
Focusing

Maxim maximgubar

🎯
Focusing
  • Zurich, Switzerland
View GitHub Profile
@maximgubar
maximgubar / build.gitlab-ci.yml
Created December 3, 2024 07:18
Gitlab build docker image and push both to GitLab and AWS Registry
.build-app-image-target-based:
image: docker:${DOCKER_VERSION}
services:
- docker:${DOCKER_VERSION}-dind
variables:
DOCKER_BUILDKIT: '1'
DOCKER_HOST: tcp://docker:2375
DOCKER_TLS_CERTDIR: ''
APP_NAME: api
DOCKER_CONTEXT: api
version: '3.8'
services:
nginx-proxy:
image: jwilder/nginx-proxy
container_name: nginx-proxy
ports:
- "80:80"
- "443:443"
volumes: