Skip to content

Commit

Permalink
ci: configure insecure registry proxy in localhost:5000
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Mar 11, 2023
1 parent 63465e8 commit 352ba70
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ jobs:
sudo podman save --format docker-archive --output $ARCHIVE_DIR/docker-archive alpine:latest
sudo podman save --format oci-archive --output $ARCHIVE_DIR/oci-archive alpine:latest
sudo podman image rm alpine:latest
- name: Setup registries for testing
run: |
sudo bash -c 'cat <<EOF > /etc/containers/registries.conf
unqualified-search-registries = ["docker.io", "quay.io"]
[[registry]]
location = "localhost:5000"
insecure = true
EOF'
- name: Run Tests
run: sudo -E GOPATH=$PWD/build CI=1 env PATH="$PATH" /home/runner/go/bin/gotestsum --junitfile build/test/result.xml -- -timeout=15m . ./api
- name: Archive test result
Expand Down

0 comments on commit 352ba70

Please sign in to comment.