Merge branch 'bugfix/KASM-6523-fix-dockerhub-readme-job-in-workspaces-core' into 'develop'

KASM-6523 Properly exclude scan when updating readmes

Closes KASM-6523

See merge request kasm-technologies/internal/workspaces-core-images!223
This commit is contained in:
Justin Travis 2024-10-17 20:34:42 +00:00
commit 8640e7f35a

View File

@ -143,6 +143,10 @@ scan_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}:
{% for FILE in files %}- {{ FILE }}
{% endfor %}{% for FILE in IMAGE.changeFiles %}- {{ FILE }}
{% endfor %}{% endif %}
except:
variables:
- $README_USERNAME
- $README_PASSWORD
needs:
- build_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}
tags:
@ -169,6 +173,10 @@ scan_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}:
{% for FILE in files %}- {{ FILE }}
{% endfor %}{% for FILE in IMAGE.changeFiles %}- {{ FILE }}
{% endfor %}{% endif %}
except:
variables:
- $README_USERNAME
- $README_PASSWORD
needs:
- build_{{ IMAGE.name1 }}_{{ IMAGE.name2 }}
artifacts: