diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d5cc44d7..55c9243f 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -35,6 +35,7 @@ jobs: with: tags: simple-staking:${{ github.sha }} outputs: type=docker,dest=/tmp/simple-staking-${{ matrix.environment }}.tar + file: ./docker/Dockerfile build-args: | NEXT_PUBLIC_MEMPOOL_API=${{ vars.NEXT_PUBLIC_MEMPOOL_API }} NEXT_PUBLIC_API_URL=${{ vars.NEXT_PUBLIC_API_URL }} diff --git a/Dockerfile b/docker/Dockerfile similarity index 100% rename from Dockerfile rename to docker/Dockerfile diff --git a/package.json b/package.json index 1b8a4f38..fbf4c374 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "format": "prettier --check .", "format:fix": "prettier --write .", "clean": "rm -r node_modules", - "build-docker": "docker build -t babylonlabs/simple-staking .", + "build-docker": "docker build -t babylonlabs/simple-staking -f docker/Dockerfile .", "clean-docker": "docker rmi babylonlabs/simple-staking 2>/dev/null; true", "prepare": "husky", "sort-imports": "eslint --fix .",