Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
Skipping http errors for when docker hub repo doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
twerthi committed Jan 12, 2024
1 parent 0ac72ac commit d12afec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
}
}
$workerToolsTags = (Invoke-RestMethod "https://registry.hub.docker.com/v2/repositories/octopuslabs/liquibase-workertools/tags?page_size=50" -SkipHttpErrorCheck)
$workerToolsTags = (Invoke-RestMethod "https://registry.hub.docker.com/v2/repositories/octopuslabs/liquibase-workertools/tags?page_size=50" -ErrorAction SilentlyContinue)
$matchingTag = $workerToolsTags.results | Where-Object { $_.name -eq $latestLiquibaseVersion }
echo "CURRENT_LIQUIBASE_VERSION=$latestLiquibaseVersion" >> $env:GITHUB_OUTPUT
Expand Down

0 comments on commit d12afec

Please sign in to comment.