Skip to content

Commit

Permalink
Pin version of Golang and Velero
Browse files Browse the repository at this point in the history
Pin version of Golang and Velero

Signed-off-by: Wenkai Yin(尹文开) <[email protected]>
  • Loading branch information
ywk253100 committed Oct 23, 2024
1 parent 97d62a0 commit a14a41b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'
go-version: '1.22.8'
id: go

- name: Check out the code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22'
go-version: '1.22.8'
id: go

- name: Check out code into the Go module directory
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM --platform=$BUILDPLATFORM golang:1.22-bookworm AS build
FROM --platform=$BUILDPLATFORM golang:1.22.8-bookworm AS build

ARG TARGETOS
ARG TARGETARCH
Expand Down
6 changes: 2 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
module github.com/vmware-tanzu/velero-plugin-for-microsoft-azure

go 1.22.0

toolchain go1.22.2
go 1.22.8

require (
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1
Expand All @@ -13,7 +11,7 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.9.0
github.com/vmware-tanzu/velero v0.0.0-20241009105421-ba0dbb91f941
github.com/vmware-tanzu/velero v1.15.0-rc.1
k8s.io/api v0.29.0
k8s.io/apimachinery v0.29.0
sigs.k8s.io/azuredisk-csi-driver v1.26.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/vmware-tanzu/velero v0.0.0-20241009105421-ba0dbb91f941 h1:QX1KPBw5mtS+CtQzRyDJpDZPY8WE9apgQ4YolEeoK7o=
github.com/vmware-tanzu/velero v0.0.0-20241009105421-ba0dbb91f941/go.mod h1:1Jk51qruLY/LCG8RMy6nVLVctIlWqJ9KBNXWroHzJZg=
github.com/vmware-tanzu/velero v1.15.0-rc.1 h1:NDfTZbOfkV2wnBHj9W/YPnPMREMwXjMbrrUw/mxS/ec=
github.com/vmware-tanzu/velero v1.15.0-rc.1/go.mod h1:28VhzPJRBo91GBRkgs4Ird0fx2vCpepBWmhF+5Pn/WQ=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
Expand Down

0 comments on commit a14a41b

Please sign in to comment.