File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 3030
3131 - run : echo "RELEASE_VERSION=$(git describe --tags --long)" >> $GITHUB_ENV
3232
33+ - name : Set up Docker Buildx
34+ uses : docker/setup-buildx-action@v2
35+ with :
36+ version : v0.10.0
37+
3338 - name : Build and push Docker image
3439 uses : docker/build-push-action@v4
3540 with :
3641 context : .
42+ platforms : linux/arm64,linux/amd64
3743 push : true
3844 tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:uat-${{ env.RELEASE_VERSION }}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates
88RUN go build -o /app/mysqlclonedb main.go
99
1010
11- FROM mysql:8.0.34-debian AS final
11+ FROM mysql:8.0.34 AS final
1212
1313COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
1414COPY --from=builder /app/mysqlclonedb /app/mysqlclonedb
You can’t perform that action at this time.
0 commit comments