UPDATE pw
This commit is contained in:
parent
bb91d0c45d
commit
1551d04866
@ -15,7 +15,7 @@ COPY . .
|
||||
|
||||
# Install playwright cli with right version for later use
|
||||
RUN PWGO_VER=$(grep -oE "playwright-go v\S+" /app/go.mod | sed 's/playwright-go //g') \
|
||||
&& go install github.com/playwright-community/playwright-go/cmd/playwright@v1.48.2
|
||||
&& go install github.com/playwright-community/playwright-go/cmd/playwright@${PWGO_VER}
|
||||
# https://stackoverflow.com/questions/70369368/check-architecture-in-dockerfile-to-get-amd-arm
|
||||
RUN go build -o bin/crawler \
|
||||
-ldflags "-X main.Shortsha=${SHORTSHA} \
|
||||
|
||||
2
go.mod
2
go.mod
@ -7,7 +7,7 @@ toolchain go1.23.2
|
||||
require (
|
||||
git.maximotejeda.com/maximo/dolar v0.0.1
|
||||
github.com/nats-io/nats.go v1.37.0
|
||||
github.com/playwright-community/playwright-go v0.4802.0
|
||||
github.com/playwright-community/playwright-go v0.5001.0
|
||||
golang.org/x/text v0.20.0
|
||||
google.golang.org/grpc v1.68.0
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user