Publish rolling releases on main branch

This commit is contained in:
Abhilash Raj
2021-08-26 05:50:53 +00:00
committed by GitHub
parent b49931b7c1
commit a849a41c57
2 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ USER = 'maxking'
TAG_VAR = 'CIRCLE_TAG'
BRANCH_VAR = 'CIRCLE_BRANCH'
PRIMARY_BRANCH = 'master'
PRIMARY_BRANCH = 'main'
def tag(original, final):
@@ -89,7 +89,7 @@ def main():
elif os.environ.get(BRANCH_VAR) == PRIMARY_BRANCH:
img_tag = 'rolling'
else:
print(f'Not running on master branch or Git tag so not publishing...')
print(f'Not running on {PRIMARY_BRANCH} branch or Git tag so not publishing...')
exit(0)
for url in ('quay.io', 'docker.io', 'ghcr.io'):

View File

@@ -488,7 +488,7 @@ that by adding the following to your configuration:
location / {
proxy_pass http://localhost:8000;
proxy_pass http://127.0.0.1:8000;
include uwsgi_params;
uwsgi_read_timeout 300;
proxy_set_header Host $host;