File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,19 @@ jobs:
2525 - uses : actions/setup-go@v3
2626 with :
2727 go-version : 1.19
28+
2829 - uses : actions/checkout@v3
30+
2931 - name : Log in to the Container registry
3032 uses : docker/login-action@v2.0.0
3133 with :
3234 registry : ghcr.io
3335 username : ${{ github.actor }}
3436 password : ${{ secrets.GITHUB_TOKEN }}
37+
38+ - name : Set up Docker Buildx
39+ uses : docker/setup-buildx-action@v3
40+
3541 - name : Build and push Docker image
3642 uses : docker/build-push-action@v3.0.0
3743 with :
Original file line number Diff line number Diff line change @@ -11,18 +11,25 @@ jobs:
1111 - uses : actions/setup-go@v3
1212 with :
1313 go-version : 1.17
14+
1415 - uses : actions/checkout@v3
16+
1517 - name : Log in to the Container registry
1618 uses : docker/login-action@v2.0.0
1719 with :
1820 registry : ghcr.io
1921 username : ${{ github.actor }}
2022 password : ${{ secrets.GITHUB_TOKEN }}
23+
2124 - name : Extract metadata (tags, labels) for Docker
2225 id : meta
2326 uses : docker/metadata-action@v4.0.1
2427 with :
2528 images : ghcr.io/${{ github.repository }}
29+
30+ - name : Set up Docker Buildx
31+ uses : docker/setup-buildx-action@v3
32+
2633 - name : Build and push Docker image
2734 uses : docker/build-push-action@v3.0.0
2835 with :
Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM golang:1.20 as builder
2+ FROM golang:1.24 AS builder
33
44WORKDIR /workspace
55# Copy the Go Modules manifests
You can’t perform that action at this time.
0 commit comments