bitcoin-s/.github/workflows/docker-publish.yml
Chris Stewart dbd54ca55f
2022 11 11 sbt 1.8.0 (#4883)
* upgrade to scala 2.13.10

* Remove 2.13.8 from CI

* Try upgrading to sbt 1.8.0-RC1 to see if build works on CI

* Try to update scoverage to 2.0.6

* Upgrade sbt native packager to 1.9.11

* Upgrade to sbt 1.8.0
2022-11-16 12:05:59 -06:00

28 lines
No EOL
770 B
YAML

# https://docs.docker.com/ci-cd/github-actions/
name: CI to Docker Hub
on:
push:
branches: [master, main]
tags: ["*"]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Check Out Repo
uses: actions/checkout@v2.3.4
with:
fetch-depth: 0
- name: Setup Scala
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: '18'
cache: 'sbt'
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
run: sbt "oracleServer/docker:publish;appServer/docker:publish"