This commit is contained in:
Andras Bacsai 2022-09-06 11:55:16 +02:00
parent 8c4149db16
commit 216c7efd42

View File

@ -72,12 +72,15 @@ jobs:
runs-on: ubuntu-latest 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: Login to docker hub
if: success()
uses: actions-hub/docker/login@v1.0.3
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- name: Create & push manifest - name: Create & push manifest
uses: addnab/docker-run-action@v3 uses: actions-hub/docker@v1.0.3
with: with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
image: docker:latest
run: | run: |
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 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
docker manifest push coollabsio/coolify:${{github.event.release.name}} docker manifest push coollabsio/coolify:${{github.event.release.name}}