File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : TOK Build and Push
2+
3+ # on:
4+ # release:
5+ # types: [published]
6+
7+ on :
8+ push :
9+ branches :
10+ - feat/actions # or change to your deployment branch
11+
12+ jobs :
13+ build-and-push :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v3
19+
20+ - name : Set up QEMU (for emulation)
21+ uses : docker/setup-qemu-action@v3
22+
23+ - name : Set up Docker Buildx
24+ uses : docker/setup-buildx-action@v3
25+ with :
26+ buildkitd-flags : --allow-insecure-entitlement security.insecure
27+
28+ - name : Log in to Docker Hub
29+ uses : docker/login-action@v3
30+ with :
31+ username : ${{ secrets.DOCKER_USERNAME }}
32+ password : ${{ secrets.DOCKER_PASSWORD }}
33+
34+ - name : Build and push multi-arch image
35+ uses : docker/build-push-action@v5
36+ with :
37+ context : .
38+ push : true
39+ platforms : linux/amd64,linux/arm/v7,linux/arm64
40+ # tags: sai3010/typesense-operator:${{ github.event.release.tag_name }}
41+ tags : sai3010/typesense-operator:1.1
You can’t perform that action at this time.
0 commit comments