-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release artifacts from Travis #594
Conversation
travis/deploy.sh
Outdated
mvn install -f distribution/pom.xml -B -U -P docker -Dstyxcore.docker.image=dlatorre/styx | ||
docker push dlatorre/styx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these lines include 'dlatorre'?
.github/workflows/verifybuild.yml
Outdated
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @dvlato. When searching the documentation, it is always checkout@v2 (https://github.com/actions/checkout) that comes out at the top.
Therefore asking, how did you come about using checkout@v1? Do you know if the v1 and v2 are related in any way? Should be using the v2 since it is newer? Etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay I see, the examples for Setup-java are using checkout@v1. (https://github.com/actions/setup-java).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see the 'maven guide' was updated from checkout@v1 to @v2 around Christmas time: https://github.com/actions/starter-workflows/blob/master/ci/maven.yml
travis/deploy.sh
Outdated
mvn deploy --settings travis/mvn-settings.xml -B -U -P sonatype-oss-release,linux -DskipTests=true -Dmaven.test.skip=true | ||
#Deploy to dockerhub | ||
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin | ||
mvn install -f distribution/pom.xml -B -U -P docker -Dstyxcore.docker.image=dlatorre/styx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This still has your user name in it:
-Dstyxcore.docker.image=dlatorre/styx
Also below:
docker push dlatorre/styx
Push them to: https://hub.docker.com/repository/docker/hotelsdotcom/styx
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think before that I would need to have credentials to push to hotelsdotcom/styx :) I think I mentioned quite a few days ago that we could not merge as is but should discuss the approach...
No description provided.