Commit 26564b20 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

Revert "build args: add CATEGORY"

This reverts commit c94cdc5f.
parent c94cdc5f
Pipeline #3060 passed with stages
in 5 minutes and 53 seconds
......@@ -13,8 +13,9 @@ from django.utils import timezone
from django.utils.dateparse import parse_datetime
from django.utils.safestring import mark_safe
import git
import requests
import git
from autoslug import AutoSlugField
from ndh.models import Links, NamedModel, TimeStampedModel
from ndh.utils import enum_to_choices, query_sum
......@@ -770,12 +771,7 @@ class Image(models.Model):
return f'{self.robotpkg}{py}:{}'
def get_build_args(self):
ret = {
'ROBOTPKG': self.robotpkg,
'REGISTRY': self.robotpkg.project.registry(),
'CATEGORY': self.robotpkg.category,
ret = {'TARGET':, 'ROBOTPKG': self.robotpkg, 'REGISTRY': self.robotpkg.project.registry()}
if not self.robotpkg.project.public:
ret['IMAGE'] = 'robotpkg-jrl-py3' if self.py3 else 'robotpkg-jrl'
elif self.py3:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment