Skip to content

Instantly share code, notes, and snippets.

@dragos-sh
dragos-sh / build-tag-push.py
Created June 28, 2019 07:36 — forked from peatiscoding/build-tag-push.py
a script to convert your docker-compose.yml (version 2) with build node to image node; this script required DOCKERHUB_USER environment available.
#!/usr/bin/python
import os
import subprocess
import time
import yaml
import re
user_name = os.environ.get("DOCKERHUB_USER")