Browse Source

saltbot: Force pull when tag is latest

master
Sean Johnson 3 years ago
parent
commit
6759bc9c0c
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS. GPG Key ID: 9FA15B87469EA850
  1. 3
      app/saltbot/init.sls

3
app/saltbot/init.sls

@ -6,6 +6,9 @@ saltbot image:
docker_image.present:
- name: {{ container.image }}
- tag: {{ container.tag }}
{%- if container.tag == "latest" %}
- force: true
{%- endif %}
saltbot container:
docker_container.running:

Loading…
Cancel
Save