Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Commit 8575784

Browse files
authored
Merge pull request #94 from scalecube/travis-ci-cd
ci-cd using Travis CI
2 parents 567f687 + c4cb429 commit 8575784

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/main/scripts/ci/before-install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
echo Running $0
55
echo *-*-*-*-*-*-*-*-*-*-*-*-*-*
66

7+
echo logging to docker image repository:
8+
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
9+
710
# get latest version of codacy reporter from sonatype
811
latest=$(curl "https://oss.sonatype.org/service/local/repositories/releases/content/com/codacy/codacy-coverage-reporter/maven-metadata.xml" | xpath -e "/metadata/versioning/release/text()")
912

travis-settings.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,14 @@
4242
<username>${env.SONATYPE_USERNAME}</username>
4343
<password>${env.SONATYPE_PASSWORD}</password>
4444
</server>
45+
<server>
46+
<id>docker.io</id>
47+
<username>${env.DOCKER_USERNAME}</username>
48+
<password>${env.DOCKER_PASSWORD}</password>
49+
</server>
4550
</servers>
4651
<activeProfiles>
4752
<activeProfile>bintray</activeProfile>
4853
<activeProfile>ossrh</activeProfile>
4954
</activeProfiles>
50-
</settings>
55+
</settings>

0 commit comments

Comments
 (0)