mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(docker): improve docker tags to be cleared and avoid conflicts (#26787)
This commit is contained in:
committed by
GitHub
parent
39973cd38e
commit
4b77129cc9
@@ -30,15 +30,3 @@ class BashMock:
|
||||
env={"TEST_ENV": "true"},
|
||||
)
|
||||
return result
|
||||
|
||||
@staticmethod
|
||||
def docker_build_push(tag, target, platform, branch):
|
||||
cmd = f'./scripts/docker_build_push.sh "{tag}" "{target}" "{platform}"'
|
||||
result = subprocess.run(
|
||||
cmd,
|
||||
shell=True,
|
||||
capture_output=True,
|
||||
text=True,
|
||||
env={"TEST_ENV": "true", "GITHUB_REF": f"refs/heads/{branch}"},
|
||||
)
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user