mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-24 15:02:17 +01:00
* Add docker x building for multiple platform support * Working now * Move config into CommonSettings, make code a bit more readable Co-authored-by: Ivan <erickson.ivan@gmail.com>
22 lines
No EOL
619 B
YAML
22 lines
No EOL
619 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: 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.6 "oracleServer/docker:publish;appServer/docker:publish" |