Commit 2858945 1 parent 8ccdd2b commit 2858945 Copy full SHA for 2858945
File tree 1 file changed +45
-0
lines changed
1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Release MLS Validation Service
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' mls-validation-service-v*'
7
+
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ push_to_registry :
12
+ name : Push Docker Image to GitHub Packages
13
+ runs-on : warp-ubuntu-latest-x64-16x
14
+ permissions :
15
+ contents : read
16
+ packages : write
17
+ steps :
18
+ - name : Checkout
19
+ uses : actions/checkout@v4
20
+
21
+ - name : Log in to the container registry
22
+ uses : docker/login-action@v3
23
+ with :
24
+ registry : ghcr.io
25
+ username : ${{ github.actor }}
26
+ password : ${{ secrets.GITHUB_TOKEN }}
27
+
28
+ - name : Extract metadata (tags, labels) for Docker
29
+ id : meta
30
+ uses : docker/metadata-action@v5
31
+ with :
32
+ images : ghcr.io/xmtp/mls-validation-service
33
+ tags : |
34
+ type=ref,event=tag
35
+ type=semver,pattern={{version}}
36
+
37
+ - name : Build and push Docker image
38
+ uses : docker/build-push-action@v6
39
+ id : push
40
+ with :
41
+ context : .
42
+ file : ./dev/validation_service/Dockerfile
43
+ push : true
44
+ tags : ${{ steps.meta.outputs.tags }}
45
+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments