This commit is contained in:
Andras Bacsai 2022-09-06 11:21:58 +02:00
parent 86cc665b58
commit 00b1a4f174

View File

@ -37,7 +37,7 @@ jobs:
with: with:
webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}
amd64-making-something-cool: amd64-making-something-cool:
runs-on: [self-hosted, x64] runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
@ -69,12 +69,15 @@ jobs:
with: with:
webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }} webhook: ${{ secrets.DISCORD_WEBHOOK_DEV_RELEASE_CHANNEL }}
merge-manifest-to-be-cool: merge-manifest-to-be-cool:
runs-on: self-hosted runs-on: ubuntu-latest
needs: [arm64-making-something-cool, amd64-making-something-cool] needs: [arm64-making-something-cool, amd64-making-something-cool]
steps: steps:
- name: Create and push manifest images - name: Login to DockerHub
uses: Noelware/docker-manifest-action@master uses: docker/login-action@v2
with: with:
base-image: coollabsio/coolify:${{github.event.release.name}} username: ${{ secrets.DOCKERHUB_USERNAME }}
extra-images: coollabsio/coolify:${{github.event.release.name}}-amd64,coollabsio/coolify:${{github.event.release.name}}-arm64 password: ${{ secrets.DOCKERHUB_TOKEN }}
push: true - 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}}