Skip to content

Commit

Permalink
Adding test builds for forks.
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed Oct 4, 2021
1 parent dda0705 commit b9fb0a7
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
build-args: |
"CHIA_BRANCH=1.2.9"
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/test-chives.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: develop-chives

on:
push:
branches:
- 'integration'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
push: true
build-args: |
"CHIVES_BRANCH=main"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:develop
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-chives:develop
46 changes: 46 additions & 0 deletions .github/workflows/test-flax.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: develop-flax

on:
push:
branches:
- 'integration'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
push: true
build-args: |
"FLAX_BRANCH=main"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:develop
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-flax:develop
46 changes: 46 additions & 0 deletions .github/workflows/test-hddcoin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: develop-hddcoin

on:
push:
branches:
- 'integration'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
push: true
build-args: |
"HDDCOIN_BRANCH=main"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:develop
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-hddcoin:develop
46 changes: 46 additions & 0 deletions .github/workflows/test-nchain.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: develop-nchain

on:
push:
branches:
- 'integration'

jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v2
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
push: true
build-args: |
"NCHAIN_BRANCH=net9.dev"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:develop
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-nchain:develop
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: test
on:
push:
branches:
- 'main'
- 'integration'

jobs:
docker:
Expand Down

0 comments on commit b9fb0a7

Please sign in to comment.