File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ jobs :
7
+ build :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - name : Checkout
11
+ uses : actions/checkout@v4
12
+
13
+ - name : Set up QEMU
14
+ uses : docker/setup-qemu-action@v3
15
+
16
+ - name : Set up Docker Buildx
17
+ uses : docker/setup-buildx-action@v3
18
+
19
+ - name : Login to Docker Hub
20
+ uses : docker/login-action@v3
21
+ with :
22
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
23
+ password : ${{ secrets.DOCKERHUB_PASSWORD }}
24
+
25
+ - name : Generate image identifier
26
+ id : name
27
+ uses : ASzc/change-string-case-action@v5
28
+ with :
29
+ string : ${{ github.repository }}
30
+
31
+ - name : Build
32
+ uses : docker/build-push-action@v5
33
+ with :
34
+ push : true
35
+ tags : |
36
+ ${{ steps.name.outputs.lowercase }}:latest
37
+ ${{ steps.name.outputs.lowercase }}:${{ github.event.release.name }}
38
+ platforms : linux/amd64,linux/arm64
You can’t perform that action at this time.
0 commit comments