We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bdc004 commit 364a189Copy full SHA for 364a189
.github/workflows/test.yml
@@ -40,6 +40,7 @@ env:
40
GIT_AUTHOR_EMAIL: [email protected]
41
GIT_AUTHOR_NAME: CI User
42
43
+
44
jobs:
45
test:
46
# Don't run scheduled tests on forks
@@ -72,8 +73,22 @@ jobs:
72
73
python_version: "3.9"
74
repo_type: venv
75
76
+ services:
77
+ # So that we can test this in PRs/branches
78
+ local-registry:
79
+ image: registry:2
80
+ ports:
81
+ - 5000:5000
82
83
steps:
84
- uses: actions/checkout@v4
85
86
+ - name: Set up Docker Buildx
87
+ uses: docker/setup-buildx-action@v3
88
+ with:
89
+ # Allows pushing to registry on localhost:5000
90
+ driver-opts: network=host
91
92
- uses: actions/setup-python@v5
93
with:
94
python-version: "${{ matrix.python_version }}"
0 commit comments