Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Nov 10, 2023
1 parent 5b2b423 commit a20c35c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,32 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Configure insecure Podman registry
run: |
REGISTRY_HOST=$(hostname -I | awk '{print $1}'):5000
echo "REGISTRY_HOST=${REGISTRY_HOST}" >> $GITHUB_ENV
mkdir -p ~/.config/containers/
cat <<EOF >> ~/.config/containers/registries.conf
[registries.insecure]
registries = [
'localhost:5000',
'localhost:5001',
'${REGISTRY_HOST}:5000',
'${REGISTRY_HOST}:5001',
]
EOF
- name: Run registry for testing
run: |
./ci/run-local-registry.sh &
while ! curl -f http://localhost:5000; do
sleep 5
done
- name: Podman info
run: podman info

- name: Build and test container
run: |
./ci/build-and-test.sh
Expand Down

0 comments on commit a20c35c

Please sign in to comment.