From 00b1a4f1743cb8afe2400170893b379b0c8b2b08 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 6 Sep 2022 11:21:58 +0200 Subject: [PATCH] fix flow --- .github/workflows/release-candidate.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml index d1aaff49c..16ac5b761 100644 --- a/.github/workflows/release-candidate.yml +++ b/.github/workflows/release-candidate.yml @@ -37,7 +37,7 @@ jobs: with: webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} amd64-making-something-cool: - runs-on: [self-hosted, x64] + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 @@ -69,12 +69,15 @@ jobs: with: webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} merge-manifest-to-be-cool: - runs-on: self-hosted + runs-on: ubuntu-latest needs: [arm64-making-something-cool, amd64-making-something-cool] steps: - - name: Create and push manifest images - uses: Noelware/docker-manifest-action@master + - name: Login to DockerHub + uses: docker/login-action@v2 with: - base-image: coollabsio/coolify:${{github.event.release.name}} - extra-images: coollabsio/coolify:${{github.event.release.name}}-amd64,coollabsio/coolify:${{github.event.release.name}}-arm64 - push: true + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Create manifest + run: bash docker manifest create coollabsio/coolify:${{github.event.release.name}} --amend coollabsio/coolify:${{github.event.release.name}}-amd64 --amend coollabsio/coolify:${{github.event.release.name}}-arm64 + - name: Push Manifest + run: bash docker manifest push coollabsio/coolify:${{github.event.release.name}}