File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 88
99env :
1010 IMAGE_NAME : relistenapi # <‑‑ repo/image name in the registry
11- REGISTRY : 100.97.22.118:32000
11+ REGISTRY_DOMAIN : 100.97.22.118
12+ REGISTRY_PORT : 32000
1213 TAG : latest
1314
1415jobs :
@@ -28,10 +29,18 @@ jobs:
2829 tags : tag:ci
2930 version : latest
3031
32+ - name : Set up Docker Buildx
33+ uses : docker/setup-buildx-action@v3
34+ with :
35+ config-inline : |
36+ [registry."${{ env.REGISTRY_DOMAIN }}"]
37+ http = true
38+ insecure = true
39+
3140 - name : Build and push image
3241 uses : docker/build-push-action@v5
3342 with :
3443 context : .
3544 platforms : linux/amd64 # x86_64
36- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
45+ tags : ${{ env.REGISTRY_DOMAIN }}:${{ env.REGISTRY_PORT }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
3746 push : true
You can’t perform that action at this time.
0 commit comments