Commit 2f8bd5e 1 parent c1fbbe6 commit 2f8bd5e Copy full SHA for 2f8bd5e
File tree 1 file changed +36
-0
lines changed
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+
3
+ on :
4
+ push :
5
+ tags :
6
+ - ' **'
7
+
8
+ jobs :
9
+ # As the pgvecto-rs module is needed in the Immich Postgres, a custom Bitnami Image Build is implemented.
10
+ build-postgres :
11
+ env :
12
+ REGISTRY : ghcr.io
13
+ IMAGE_NAME : ${{ github.repository }}
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ - name : Log into registry ${{ env.REGISTRY }}
18
+ uses : docker/login-action@v1
19
+ with :
20
+ registry : ${{ env.REGISTRY }}
21
+ username : ${{ github.actor }}
22
+ password : ${{ secrets.GITHUB_TOKEN }}
23
+ - name : Setup Docker buildx
24
+ uses : docker/setup-buildx-action@v1
25
+ - name : Extract Docker metadata
26
+ id : meta
27
+ uses : docker/metadata-action@v2
28
+ with :
29
+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
30
+ - name : Build and Push Versioned Docker Image
31
+ id : build-and-push
32
+ uses : docker/build-push-action@v2
33
+ with :
34
+ push : true
35
+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.ref_name }}, ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
36
+ labels : ${{ steps.meta.outputs.labels }}
You can’t perform that action at this time.
0 commit comments