mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-09 05:14:35 +01:00
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
This commit is contained in:
parent
f07b40735e
commit
a73eb569ae
1 changed files with 7 additions and 2 deletions
9
.github/workflows/docker.yml
vendored
9
.github/workflows/docker.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue