Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
Publish to DockerHub via cli instead of SBT
Browse files Browse the repository at this point in the history
  • Loading branch information
Bogdan Roman committed Nov 27, 2019
1 parent 8bbf60b commit 4ae116c
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/ci.yml
Expand Up @@ -31,16 +31,19 @@ jobs:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
BINTRAY_PASS: ${{ secrets.BINTRAY_PASS }}
steps:
- uses: actions/checkout@v1
- uses: olafurpg/setup-scala@v5
- name: Checkout
uses: actions/checkout@v1
- name: SetupSbt
uses: olafurpg/setup-scala@v5
with:
java-version: adopt@1.11
- name: Publish
- name: PublishToBintray
run: sbt releaseEarly
- name: PublishDockerAsLatest
- name: PublishToDockerHub
run: |
sbt docker:publishLocal
docker login --username ${{ secrets.DOCKER_USER }} --password ${{ secrets.DOCKER_PASS }}
sbt docker:publish
docker push bluebrain/nexus-iam:latest
- name: RecordCoverage
run: sbt clean coverage test coverageReport coverageAggregate
- uses: codecov/codecov-action@v1
Expand Down

0 comments on commit 4ae116c

Please sign in to comment.