bitcoin-s/.github/workflows/docker-publish.yml
Chris Stewart a3954dbcae 2021 04 17 spendinfodb invariant (#2912)
* Add invariant to spendingInfoDb to that requires if the spendinginfodb is in a TxoState.spentStates, the SpendingInfoDb.spendingTxIdOpt is defined

* Remove unused SpendingInfoDAO.updateTxoState()

* Remove comment

* Make TxoState and explicit parameter for test methods. Most test methods depend on a sample utxo state, so make the caller of the method specify what state they want the txo to be in

* Fix github actions config

* Fix RoutesSpec test
2021-04-18 09:02:49 -05:00

22 lines
No EOL
632 B
YAML

# https://docs.docker.com/ci-cd/github-actions/
name: CI to Docker Hub
on:
push:
branches: [master, main, adaptor-dlc]
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: 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 ++2.13.5 "oracleServer/docker:publish;appServer/docker:publish"