mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
fix publish docker script
This commit is contained in:
parent
b67a73d832
commit
53d21b82d3
@ -16,11 +16,11 @@ DOCKER_REPOSITORY="$DOMAIN/$REPO_SLUG"
|
||||
|
||||
# Publish Image to quay.io or dockerhub or another domain - only publish the version on master - elsewhere version and branch
|
||||
if [[ "$BRANCH_NAME" == "master" ]]; then
|
||||
if [[ "$DRY_RUN" == "false" ]]; then
|
||||
if [[ "$DRY_RUN" != "true" ]]; then
|
||||
npx @alfresco/adf-cli docker-publish --loginCheck --loginUsername "$USERNAME" --loginPassword "$PASSWORD" --loginRepo "$DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --buildArgs "$DOCKER_PROJECT_ARGS" --dockerTags "$TAG_VERSION" --pathProject "$(pwd)"
|
||||
fi;
|
||||
else
|
||||
if [[ "$DRY_RUN" == "false" ]]; then
|
||||
if [[ "$DRY_RUN" != "true" ]]; then
|
||||
npx @alfresco/adf-cli docker-publish --loginCheck --loginUsername "$USERNAME" --loginPassword "$PASSWORD" --loginRepo "$DOMAIN" --dockerRepo "$DOCKER_REPOSITORY" --buildArgs "$DOCKER_PROJECT_ARGS" --dockerTags "$TAG_VERSION,$BRANCH_NAME" --pathProject "$(pwd)"
|
||||
fi;
|
||||
fi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user