Skip to content

Commit

Permalink
chore: update Golang in Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmarble committed May 26, 2024
1 parent fa9bd84 commit 144de96
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ jobs:
exclude:
- go: 1.21
package: jaeger-influxdb
- go: 1.21
package: tests-integration
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

Expand Down Expand Up @@ -52,11 +54,11 @@ jobs:
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 1

- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: "1.22"

Expand Down
2 changes: 1 addition & 1 deletion jaeger-influxdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#syntax=docker/dockerfile:1.2
FROM golang:1.20-alpine3.16 AS builder
FROM golang:1.22-alpine3.20 AS builder
RUN apk --update --no-cache add ca-certificates
ENV CGO_ENABLED 0

Expand Down
2 changes: 1 addition & 1 deletion jaeger-influxdb/Dockerfile.all-in-one
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#syntax=docker/dockerfile:1.2
FROM golang:1.20-alpine3.16 AS builder
FROM golang:1.22-alpine3.20 AS builder
RUN apk --update --no-cache add ca-certificates
ENV CGO_ENABLED 0

Expand Down
2 changes: 1 addition & 1 deletion otelcol-influxdb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#syntax=docker/dockerfile:1.2
FROM golang:1.22-alpine3.19 AS builder
FROM golang:1.22-alpine3.20 AS builder
RUN apk --update --no-cache add ca-certificates
ENV CGO_ENABLED 0

Expand Down
6 changes: 3 additions & 3 deletions tests-integration/go.mod
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
module tests

go 1.21.0
go 1.22.0

toolchain go1.21.10
toolchain go1.22.3

require (
github.com/influxdata/influxdb/v2 v2.6.1
github.com/influxdata/line-protocol/v2 v2.2.1
github.com/influxdata/telegraf v1.27.2
github.com/influxdata/telegraf v0.0.0-0.20240525225432-1e4dabce191c
github.com/open-telemetry/opentelemetry-collector-contrib/exporter/influxdbexporter v0.101.0
github.com/open-telemetry/opentelemetry-collector-contrib/extension/healthcheckextension v0.101.0
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatatest v0.101.0
Expand Down

0 comments on commit 144de96

Please sign in to comment.