Skip to content

Commit 05a0526

Browse files
committed
Use local registry for final deploy stage
1 parent 32b4c3d commit 05a0526

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/deploy.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
deploy:
1616
name: Build, push, & deploy
1717
runs-on: ubuntu-latest
18+
servicess:
19+
registry:
20+
image: registry:2
21+
ports:
22+
- 5000:5000
1823

1924
steps:
2025
- name: Download image artifact
@@ -59,6 +64,7 @@ jobs:
5964
tags: |
6065
ghcr.io/python-discord/snekbox:latest
6166
ghcr.io/python-discord/snekbox:${{ inputs.version }}
67+
localhost:5000/local/snekbox:${{ inputs.version }}
6268
6369
- name: Build PyDis final image
6470
uses: docker/build-push-action@v6
@@ -68,6 +74,7 @@ jobs:
6874
push: true
6975
cache-from: |
7076
ghcr.io/python-discord/snekbox:latest-pydis
77+
build-args: SNEKBOX_IMAGE=localhost:5000/local/snekbox:${{ inputs.version }}
7178
cache-to: type=inline
7279
tags: |
7380
ghcr.io/python-discord/snekbox:latest-pydis

0 commit comments

Comments
 (0)