Skip to content

Commit 4fa7051

Browse files
committed
[WIP] Fix port number for conformance CI job
Signed-off-by: Brandon Mitchell <git@bmitch.net>
1 parent 0015ed0 commit 4fa7051

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/conformance-action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,14 @@ jobs:
1515
- name: checkout source code
1616
uses: actions/checkout@v4
1717
- name: Start a test registry
18+
id: setup
1819
run: |
1920
set -x
2021
make registry-ci
22+
echo "port=$(docker port oci-conformance-olareg 5000| head -1 | cut -f2 -d:)" >>$GITHUB_OUTPUT
2123
- name: Run OCI distribution-spec conformance
2224
env:
23-
OCI_REGISTRY: "localhost:5000"
25+
OCI_REGISTRY: "localhost:${{ steps.setup.outputs.port }}"
2426
OCI_TLS: "disable"
2527
OCI_REPO1: "myorg/myrepo"
2628
OCI_REPO2: "myorg/myrepo2"

0 commit comments

Comments
 (0)