mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-07 14:09:30 +02:00
fix sentry endpoint
This commit is contained in:
parent
31a478457f
commit
36669c3483
3 changed files with 4 additions and 4 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
|
@ -32,8 +32,8 @@ const execAsync = promisify(exec);
|
||||||
|
|
||||||
async function getBlacksmithAPIUrl(): Promise<AxiosInstance> {
|
async function getBlacksmithAPIUrl(): Promise<AxiosInstance> {
|
||||||
let apiUrl = process.env.PETNAME?.includes('staging')
|
let apiUrl = process.env.PETNAME?.includes('staging')
|
||||||
? 'https://stagingapi.blacksmith.sh/cache'
|
? 'https://stagingapi.blacksmith.sh'
|
||||||
: 'https://api.blacksmith.sh/cache'
|
: 'https://api.blacksmith.sh'
|
||||||
return axios.create({
|
return axios.create({
|
||||||
baseURL: apiUrl,
|
baseURL: apiUrl,
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue