Skip to content

Commit

Permalink
Test collapsing of build workflows to only live forks.
Browse files Browse the repository at this point in the history
  • Loading branch information
guydavis committed Feb 16, 2025
1 parent 1a98132 commit b016531
Show file tree
Hide file tree
Showing 6 changed files with 138 additions and 162 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,57 @@
name: develop-chia
name: develop-blockchains

on:
push:
branches:
- 'develop'

jobs:
cactus:
runs-on: ubuntu-24.04
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
provenance: false
push: true
build-args: |
"UBUNTU_VER=jammy"
"MACHINARIS_STREAM=develop"
"CHIADOG_BRANCH=dev"
"FDCLI_BRANCH=dev"
"CACTUS_BRANCH=main"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:develop
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:develop
chia:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand Down Expand Up @@ -52,7 +96,7 @@ jobs:
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:develop
gigahorse:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/develop-cactus.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release-chia
name: release-blockchains

on:
workflow_dispatch:
Expand All @@ -7,8 +7,50 @@ on:
description: 'Release Version'

jobs:
cactus:
runs-on: ubuntu-24.04
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
provenance: false
push: true
build-args: |
"UBUNTU_VER=noble"
"MACHINARIS_STREAM=latest"
"CACTUS_BRANCH=main"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:latest
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:latest
chia:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand Down Expand Up @@ -53,7 +95,7 @@ jobs:
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:v${{ github.event.inputs.version }}
gigahorse:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/main-cactus.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,56 @@
name: test-chia
name: test-blockchains

on:
push:
branches:
- 'integration'

jobs:
cactus:
runs-on: ubuntu-24.04
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v4
with:
file: docker/dockerfile
context: .
platforms: linux/amd64
provenance: false
push: true
build-args: |
"UBUNTU_VER=noble"
"MACHINARIS_STREAM=develop"
"CHIADOG_BRANCH=dev"
"CACTUS_BRANCH=main"
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:test
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris-cactus:test
chia:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand Down Expand Up @@ -52,7 +95,7 @@ jobs:
ghcr.io/${{ secrets.DOCKERHUB_USERNAME }}/machinaris:test
gigahorse:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
-
name: Checkout
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/test-cactus.yaml

This file was deleted.

0 comments on commit b016531

Please sign in to comment.