Skip to content

Set docker repository to DigitalOcean #35

Set docker repository to DigitalOcean

Set docker repository to DigitalOcean #35

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
build:
name: "Stable Release"
runs-on: ubuntu-latest
environment: production
services:
mongodb:
image: mongo:3.2
ports:
- 27017:27017
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install doctl
uses: digitalocean/action-doctl@v2
with:
token: '${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}'
- name: Login to DO Container Registry
run: doctl registry login --expiry-seconds 600
- name: Login to GitHub
uses: oleksiyrudenko/[email protected]
with:
token: '${{ secrets.GITHUB_TOKEN }}'
- name: Release
run: ./sbt "release with-defaults"