Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

ci: update staging release

Andras Bacsai45b0f791bbf4
diff --git a/.github/workflows/staging-release.yml b/.github/workflows/staging-release.yml
index 7a5e5474f3..b8b05da445 100644
--- a/.github/workflows/staging-release.yml
+++ b/.github/workflows/staging-release.yml
@@ -6,7 +6,7 @@ on:
- next
jobs:
- arm64-making-something-cool:
+ arm64:
runs-on: [self-hosted, arm64]
steps:
- name: Checkout
@@ -34,7 +34,7 @@ jobs:
tags: coollabsio/coolify:next-arm64
cache-from: type=registry,ref=coollabsio/coolify:buildcache-next-arm64
cache-to: type=registry,ref=coollabsio/coolify:buildcache-next-arm64,mode=max
- amd64-making-something-cool:
+ amd64:
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -62,9 +62,37 @@ jobs:
tags: coollabsio/coolify:next-amd64,coollabsio/coolify:next-test
cache-from: type=registry,ref=coollabsio/coolify:buildcache-next-amd64
cache-to: type=registry,ref=coollabsio/coolify:buildcache-next-amd64,mode=max
- merge-manifest-to-be-cool:
+ aarch64:
+ runs-on: [self-hosted, arm64]
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v3
+ with:
+ ref: "next"
+ - 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: Get current package version
+ uses: martinbeentjes/[email protected]
+ id: package-version
+ - name: Build and push
+ uses: docker/build-push-action@v3
+ with:
+ context: .
+ platforms: linux/aarch64
+ push: true
+ tags: coollabsio/coolify:next-aarch64,coollabsio/coolify:next-test
+ cache-from: type=registry,ref=coollabsio/coolify:buildcache-next-aarch64
+ cache-to: type=registry,ref=coollabsio/coolify:buildcache-next-aarch64,mode=max
+ merge-manifest:
runs-on: ubuntu-latest
- needs: [arm64-making-something-cool, amd64-making-something-cool]
+ needs: [arm64, amd64, aarch64]
steps:
- name: Checkout
uses: actions/checkout@v3
@@ -79,7 +107,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Create & publish manifest
run: |
- docker manifest create coollabsio/coolify:next --amend coollabsio/coolify:next-amd64 --amend coollabsio/coolify:next-arm64
+ docker manifest create coollabsio/coolify:next --amend coollabsio/coolify:next-amd64 --amend coollabsio/coolify:next-arm64 --amend coollabsio/coolify:next-aarch64
docker manifest push coollabsio/coolify:next
- uses: sarisia/actions-status-discord@v1
if: always()