Set architectures into aptly-publisher config
diff --git a/aptly/files/aptly-publisher.yaml b/aptly/files/aptly-publisher.yaml
index be90d06..35e4a32 100644
--- a/aptly/files/aptly-publisher.yaml
+++ b/aptly/files/aptly-publisher.yaml
@@ -8,6 +8,12 @@
{%- for distribution in repo.publisher.distributions %}
- {{ distribution }}
{%- endfor %}
+ {%- if repo.publisher.architectures is defined %}
+ architectures:
+ {%- for arch in repo.publisher.architectures %}
+ - {{ arch }}
+ {%- endfor %}
+ {%- endif %}
{%- endfor %}
{%- else %}
repo: {}
@@ -22,6 +28,12 @@
{%- for distribution in mirror.publisher.distributions %}
- {{ distribution }}
{%- endfor %}
+ {%- if repo.publisher.architectures is defined %}
+ architectures:
+ {%- for arch in repo.publisher.architectures %}
+ - {{ arch }}
+ {%- endfor %}
+ {%- endif %}
{%- endfor %}
{%- else %}
mirror: {}