From b056826e9400d94c4174801dd5656d2d189e4bff Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 24 Jan 2023 15:31:26 +0100 Subject: [PATCH] Fixing prod release --- .github/workflows/production-release.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/production-release.yml b/.github/workflows/production-release.yml index dc73248cf..6bc19effb 100644 --- a/.github/workflows/production-release.yml +++ b/.github/workflows/production-release.yml @@ -2,7 +2,8 @@ name: production-release on: release: - types: [released] + # types: [released] + types: [prereleased] jobs: arm64: @@ -54,7 +55,7 @@ jobs: context: . platforms: linux/amd64 push: true - tags: coollabsio/coolify:${{steps.package-version.outputs.current-version}} + tags: coollabsio/coolify:${{steps.package-version.outputs.current-version}}-amd64 cache-from: type=registry,ref=coollabsio/coolify:buildcache-amd64 cache-to: type=registry,ref=coollabsio/coolify:buildcache-amd64,mode=max aarch64: @@ -103,11 +104,14 @@ jobs: id: package-version - name: Create & publish manifest run: | + docker pull coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64 + docker pull coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64 + docker pull coollabsio/coolify:${{steps.package-version.outputs.current-version}} docker buildx imagetools create --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64 --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64 --tag coollabsio/coolify:${{steps.package-version.outputs.current-version}} docker tag coollabsio/coolify:${{steps.package-version.outputs.current-version}} coollabsio/coolify:latest docker push coollabsio/coolify:latest docker buildx imagetools create --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-arm64 --append coollabsio/coolify:${{steps.package-version.outputs.current-version}}-aarch64 --tag coollabsio/coolify:latest - - uses: sarisia/actions-status-discord@v1 - if: always() - with: - webhook: ${{ secrets.DISCORD_WEBHOOK_PROD_RELEASE_CHANNEL }} + # - uses: sarisia/actions-status-discord@v1 + # if: always() + # with: + # webhook: ${{ secrets.DISCORD_WEBHOOK_PROD_RELEASE_CHANNEL }}