File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 type=match,pattern=libsql-server-(.*),group=1
4444 type=raw,value=latest
4545
46+ - name : Build and push Docker image
47+ uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
48+ with :
49+ context : .
50+ platforms : linux/amd64
51+ push : true
52+ tags : ${{ steps.meta.outputs.tags }}
53+ labels : ${{ steps.meta.outputs.labels }}
54+ cache-from : type=gha
55+ cache-to : type=gha,mode=max
56+
57+ build-and-push-image-arm :
58+ runs-on : ubuntu-latest
59+ permissions :
60+ contents : read
61+ packages : write
62+
63+ steps :
64+ - name : Checkout repository
65+ uses : actions/checkout@v3
66+ with :
67+ submodules : recursive
68+
69+ - name : Set up Docker Buildx
70+ uses : docker/setup-buildx-action@v3
71+ with :
72+ platforms : linux/arm64
73+
74+ - name : Log in to the Container registry
75+ uses : docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
76+ with :
77+ registry : ${{ env.REGISTRY }}
78+ username : ${{ github.actor }}
79+ password : ${{ secrets.GITHUB_TOKEN }}
80+
81+ - name : Extract metadata (tags, labels) for Docker
82+ id : meta
83+ uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
84+ with :
85+ images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
86+ tags : |
87+ type=match,pattern=libsql-server-(.*),group=1
88+ type=raw,value=latest
89+
4690 - name : Build and push Docker image
4791 uses : docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
4892 with :
You can’t perform that action at this time.
0 commit comments