cicd: fix build naming
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed

This commit is contained in:
Glenn Y. Rolland 2024-08-06 16:12:01 +02:00
parent e7108f75ff
commit 4fbf104d74

View file

@ -40,9 +40,11 @@ steps:
from_secret: DOCKERHUB_USERNAME from_secret: DOCKERHUB_USERNAME
password: password:
from_secret: DOCKERHUB_PASSWORD from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-dolibarr:latest_${DRONE_BRANCH/\\//-}" cache_from: "glenux/service-dolibarr:${DRONE_BRANCH/\\//-}_latest"
repo: glenux/service-dolibarr repo: glenux/service-dolibarr
tags: "latest_${DRONE_BRANCH/\\//-}" tags:
- "${DRONE_BRANCH/\\//-}_latest"
- "${DRONE_BRANCH/\\//-}_${DRONE_COMMIT_SHA:0:8}"
purge: false purge: false
when: when:
branch: branch:
@ -57,7 +59,7 @@ steps:
from_secret: DOCKERHUB_USERNAME from_secret: DOCKERHUB_USERNAME
password: password:
from_secret: DOCKERHUB_PASSWORD from_secret: DOCKERHUB_PASSWORD
cache_from: "glenux/service-dolibarr:latest_${DRONE_BRANCH/\\//-}" cache_from: "glenux/service-dolibarr:${DRONE_BRANCH/\\//-}_latest"
repo: glenux/service-dolibarr repo: glenux/service-dolibarr
tags: latest tags: latest
purge: false purge: false