🚑 Fix missing tags in CI/CD

This commit is contained in:
SebClem 2020-10-12 14:28:12 +02:00
parent 5520175619
commit 8bc167a884

View File

@ -62,9 +62,9 @@ jobs:
- name: Set Tags ${{matrix.arch}}
run: |
if [ "${{env.version_type}}" != "dev" ]; then
echo "TAGS=${{env.REPOSITORY}}/${{env.IMAGE}}:latest, ${{env.REPOSITORY}}/${{env.IMAGE}}:$(jq --raw-output '.version' "${{env.TARGET}}/config.json")"
echo "TAGS=${{env.REPOSITORY}}/${{env.IMAGE}}:latest, ${{env.REPOSITORY}}/${{env.IMAGE}}:$(jq --raw-output '.version' "${{env.TARGET}}/config.json")" >> $GITHUB_ENV
else
echo "TAGS=${{env.REPOSITORY}}/${{env.IMAGE}}:dev, $(jq --raw-output '.version' "${{env.TARGET}}/config.json")"
echo "TAGS=${{env.REPOSITORY}}/${{env.IMAGE}}:dev, $(jq --raw-output '.version' "${{env.TARGET}}/config.json")" >> $GITHUB_ENV
fi
- name: Debug Env