mirror of
https://code.forgejo.org/docker/build-push-action.git
synced 2025-08-11 17:10:54 +00:00
Merge pull request #109 from useblacksmith/use-port-env
src: use port from env
This commit is contained in:
commit
49f6d185dd
3 changed files with 3 additions and 3 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
|
@ -35,7 +35,7 @@ const createBlacksmithAPIClient = () => {
|
||||||
|
|
||||||
export function createBlacksmithAgentClient() {
|
export function createBlacksmithAgentClient() {
|
||||||
const transport = createGrpcTransport({
|
const transport = createGrpcTransport({
|
||||||
baseUrl: 'http://192.168.127.1:5557',
|
baseUrl: `http://192.168.127.1:${process.env.BLACKSMITH_STICKY_DISK_GRPC_PORT || '5557'}`,
|
||||||
httpVersion: '2'
|
httpVersion: '2'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue