From a73eb569ae3f120b5d54385145a65b2feef11a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dni=20=E2=9A=A1?= Date: Thu, 8 Feb 2024 11:30:38 +0100 Subject: [PATCH] bug: docker upload workflow (#2245) something changed in the docker-build-push action. added `workflow_dispatch` to be able to manually run those docker releases via github --- .github/workflows/docker.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c2ecad9ff..9fb85170e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,6 +1,11 @@ name: docker on: + workflow_dispatch: + inputs: + tag: + default: latest + type: string workflow_call: inputs: tag: @@ -38,7 +43,7 @@ jobs: context: . push: true tags: ${{ secrets.DOCKER_USERNAME }}/lnbits:${{ inputs.tag }} - platforms: [ linux/amd64, linux/arm64 ] + platforms: linux/amd64,linux/arm64 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache @@ -48,6 +53,6 @@ jobs: context: . push: true tags: ${{ secrets.DOCKER_USERNAME }}/lnbits:latest - platforms: [ linux/amd64, linux/arm64 ] + platforms: linux/amd64,linux/arm64 cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache