File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ release :
5+ types : [created]
6+ tags :
7+ - v*
8+
9+ jobs :
10+ docker :
11+ runs-on : ubuntu-latest
12+ steps :
13+ -
14+ name : Checkout
15+ uses : actions/checkout@v2
16+
17+ -
18+ name : Set up QEMU
19+ uses : docker/setup-qemu-action@v1
20+ -
21+ name : Set up Docker Buildx
22+ uses : docker/setup-buildx-action@v1
23+ -
24+ name : Login to DockerHub
25+ uses : docker/login-action@v1
26+ with :
27+ username : ${{ secrets.DOCKERHUB_USERNAME }}
28+ password : ${{ secrets.DOCKERHUB_TOKEN }}
29+ -
30+ name : Set output
31+ id : vars
32+ run : echo ::set-output name=tag::${GITHUB_REF#refs/*/}
33+ -
34+ name : Build and push
35+ uses : docker/build-push-action@v2
36+ with :
37+ context : .
38+ platforms : linux/amd64
39+ push : true
40+ tags : vincenzopalazzo/ln-dashboard:${{ steps.vars.outputs.tag }}
You can’t perform that action at this time.
0 commit comments