From a39c058fe2492709c52627c180eb7017ec3d2c98 Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 24 Feb 2024 20:49:19 +0100 Subject: [PATCH] try system docker --- .github/workflows/nutshell-integration.yml | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/.github/workflows/nutshell-integration.yml b/.github/workflows/nutshell-integration.yml index 1a56759c..1145a5d5 100644 --- a/.github/workflows/nutshell-integration.yml +++ b/.github/workflows/nutshell-integration.yml @@ -6,29 +6,15 @@ jobs: build-and-test: runs-on: ubuntu-latest steps: - - name: Set up Docker - run: | - sudo apt-get update - sudo apt-get install -y docker.io - - - name: Checkout Nutshell repository - uses: actions/checkout@v2 - with: - repository: 'cashubtc/nutshell' - token: ${{ secrets.GITHUB_TOKEN }} - - name: Pull and start mint run: | - sudo docker run -d -p 3338:3338 --name nutshell -e MINT_LIGHTNING_BACKEND=FakeWallet -e MINT_LISTEN_HOST=0.0.0.0 -e MINT_LISTEN_PORT=3338 -e MINT_PRIVATE_KEY=TEST_PRIVATE_KEY cashubtc/nutshell:0.15.0 poetry run mint + docker run -d -p 3338:3338 --name nutshell -e MINT_LIGHTNING_BACKEND=FakeWallet -e MINT_LISTEN_HOST=0.0.0.0 -e MINT_LISTEN_PORT=3338 -e MINT_PRIVATE_KEY=TEST_PRIVATE_KEY cashubtc/nutshell:0.15.0 poetry run mint - name: Check running containers - run: sudo docker ps - - - name: Curl on localhost:3338/keys - run: curl http://localhost:3338/keys + run: docker ps - - name: Navigate to the parent directory - run: cd .. + - name: Curl on localhost:3338/v1/keys + run: curl http://localhost:3338/v1/keys - name: Checkout cashu-ts repository uses: actions/checkout@v3