mirror of
https://github.com/bolucat/Archive.git
synced 2025-12-24 13:28:37 +08:00
Update On Thu Aug 1 20:31:18 CEST 2024
This commit is contained in:
2
gost/.github/workflows/buildx.yaml
vendored
2
gost/.github/workflows/buildx.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
echo ::set-output name=version::snapshot
|
||||
fi
|
||||
|
||||
echo ::set-output name=docker_platforms::linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386,linux/s390x
|
||||
echo ::set-output name=docker_platforms::linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/386,linux/s390x,linux/riscv64
|
||||
echo ::set-output name=docker_image::${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}
|
||||
|
||||
# https://github.com/crazy-max/ghaction-docker-buildx
|
||||
|
||||
@@ -106,6 +106,7 @@ func parseUsers(authFile string) (users []*url.Userinfo, err error) {
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
defer file.Close()
|
||||
scanner := bufio.NewScanner(file)
|
||||
for scanner.Scan() {
|
||||
line := strings.TrimSpace(scanner.Text())
|
||||
@@ -175,7 +176,7 @@ func parseIP(s string, port string) (ips []string) {
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
defer file.Close()
|
||||
scanner := bufio.NewScanner(file)
|
||||
for scanner.Scan() {
|
||||
line := strings.TrimSpace(scanner.Text())
|
||||
|
||||
Reference in New Issue
Block a user