Skip to content

Commit d57e9a3

Browse files
authored
Update build_and_push_image.yml
1 parent 8fd7675 commit d57e9a3

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/build_and_push_image.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ on:
88

99
env:
1010
IMAGE_NAME: relistenapi # <‑‑ repo/image name in the registry
11-
REGISTRY_DOMAIN: 100.97.22.118
12-
REGISTRY_PORT: 32000
11+
REGISTRY: 100.97.22.118:32000
1312
TAG: latest
1413

1514
jobs:
@@ -32,8 +31,8 @@ jobs:
3231
- name: Set up Docker Buildx
3332
uses: docker/setup-buildx-action@v3
3433
with:
35-
config-inline: |
36-
[registry."${{ env.REGISTRY_DOMAIN }}"]
34+
buildkitd-config-inline: |
35+
[registry."${{ env.REGISTRY }}"]
3736
http = true
3837
insecure = true
3938
@@ -42,5 +41,5 @@ jobs:
4241
with:
4342
context: .
4443
platforms: linux/amd64 # x86_64
45-
tags: ${{ env.REGISTRY_DOMAIN }}:${{ env.REGISTRY_PORT }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
44+
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
4645
push: true

0 commit comments

Comments
 (0)