Skip to content

Updated License

Updated License #13

Workflow file for this run

name: Test official Chia Simulator Docker Image
on:
pull_request:
jobs:
docker_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/github-script@v6
id: 'tag'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
result-encoding: string
script: |
const release = await github.rest.repos.getLatestRelease({
owner: 'Chia-Network',
repo: 'chia-blockchain',
});
return release.data.tag_name;
- uses: actions/github-script@v6
id: 'cdv-tag'
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
result-encoding: string
script: |
const release = await github.rest.repos.getLatestRelease({
owner: 'Chia-Network',
repo: 'chia-dev-tools',
});
return release.data.tag_name;
- run: docker build --build-arg CHIA_BRANCH="${{ steps.tag.outputs.result }}" --build-arg DEV_TOOLS_BRANCH="${{ steps.cdv-tag.outputs.result }}" .