File tree 2 files changed +39
-2
lines changed
2 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -119,3 +119,40 @@ jobs:
119
119
args : --config .goreleaser/windows.yml --clean --snapshot --skip=publish
120
120
env :
121
121
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
122
+
123
+ dockerimage-test :
124
+ runs-on : ubuntu-latest
125
+ env :
126
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
127
+ steps :
128
+ - name : Check out source code
129
+ uses : actions/checkout@v4
130
+ with :
131
+ fetch-depth : 0
132
+
133
+ - name : Get latest version
134
+ id : latest_version
135
+ run : |
136
+ echo -n 'version=' > $GITHUB_OUTPUT
137
+ gh release list --limit 1 | cut -f 1 >> $GITHUB_OUTPUT
138
+ cat $GITHUB_OUTPUT
139
+
140
+ - name : Set up QEMU
141
+ uses : docker/setup-qemu-action@v3
142
+
143
+ - name : Set up Docker Buildx
144
+ uses : docker/setup-buildx-action@v3
145
+
146
+ - name : Login to Docker Hub
147
+ uses : docker/login-action@v3
148
+ with :
149
+ username : ${{ secrets.DOCKERHUB_USERNAME }}
150
+ password : ${{ secrets.DOCKERHUB_TOKEN }}
151
+
152
+ - name : Build and push
153
+ uses : docker/build-push-action@v6
154
+ with :
155
+ context : .
156
+ file : Dockerfile
157
+ platforms : linux/amd64,linux/arm64
158
+ push : false
Original file line number Diff line number Diff line change 1
- FROM golang:1-bullseye AS builder
1
+ FROM golang:1-bookworm AS builder
2
2
3
3
WORKDIR /workdir/
4
4
COPY . /workdir/
@@ -9,7 +9,7 @@ RUN update-ca-certificates
9
9
10
10
RUN make build
11
11
12
- FROM debian:bullseye -slim
12
+ FROM debian:bookworm -slim
13
13
14
14
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
15
15
COPY --from=builder /workdir/tbls ./usr/bin
You can’t perform that action at this time.
0 commit comments