File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ docker :
9+ runs-on : ubuntu-latest
10+
11+ permissions :
12+ contents : read
13+ packages : write
14+
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v4
18+
19+ - name : Log in to DockerHub
20+ uses : docker/login-action@v3
21+ with :
22+ username : ${{ secrets.DOCKERHUB_USERNAME }}
23+ password : ${{ secrets.DOCKERHUB_TOKEN }}
24+
25+ - name : Extract metadata
26+ id : meta
27+ uses : docker/metadata-action@v5.8.0
28+ with :
29+ images : calvicii/onloc-ui
30+
31+ - name : Build and push Docker image
32+ uses : docker/build-push-action@v6.18.0
33+ with :
34+ context : .
35+ push : true
36+ tags : ${{ steps.meta.outputs.tags }}
37+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments