diff --git a/.github/main.workflow b/.github/main.workflow new file mode 100644 index 0000000..3669179 --- /dev/null +++ b/.github/main.workflow @@ -0,0 +1,9 @@ +workflow "build" { + on = "push" + resolves = ["GitHub Action for Docker"] +} + +action "GitHub Action for Docker" { + uses = "actions/docker/cli@86ab5e854a74b50b7ed798a94d9b8ce175d8ba19" + runs = "docker build -t meedamian/bitcoind 0.17/" +} diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml new file mode 100644 index 0000000..3850f71 --- /dev/null +++ b/.github/workflows/dockerimage.yml @@ -0,0 +1,14 @@ +name: Docker Image CI + +on: [push] + +jobs: + + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + - name: Build the Docker image + run: docker build . --file 0.17/Dockerfile --tag bitcoind:$(date +%s)