Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ platform:

steps:
- name: vet
image: golang:1.22
image: golang:1.23
commands:
- go vet ./...
environment:
Expand All @@ -22,7 +22,7 @@ steps:
path: /go

- name: test
image: golang:1.22
image: golang:1.23
commands:
- go test -cover ./...
environment:
Expand Down Expand Up @@ -55,7 +55,7 @@ platform:

steps:
- name: go build
image: golang:1.22
image: golang:1.23
environment:
CGO_ENABLED: 0
commands:
Expand Down Expand Up @@ -97,7 +97,7 @@ platform:

steps:
- name: go build
image: golang:1.22
image: golang:1.23
environment:
CGO_ENABLED: 0
commands:
Expand Down Expand Up @@ -140,7 +140,7 @@ platform:

steps:
- name: build-push
image: golang:1.22
image: golang:1.23
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/buildx-ecr ./cmd/drone-buildx-ecr'
environment:
Expand All @@ -150,7 +150,7 @@ steps:
exclude:
- tag
- name: build-tag
image: golang:1.22
image: golang:1.23
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/amd64/buildx-ecr ./cmd/drone-buildx-ecr'
environment:
Expand Down Expand Up @@ -198,7 +198,7 @@ platform:

steps:
- name: build-push
image: golang:1.22
image: golang:1.23
commands:
- 'go build -v -ldflags "-X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/buildx-ecr ./cmd/drone-buildx-ecr'
environment:
Expand All @@ -209,7 +209,7 @@ steps:
- tag

- name: build-tag
image: golang:1.22
image: golang:1.23
commands:
- 'go build -v -ldflags "-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}" -a -tags netgo -o release/linux/arm64/buildx-ecr ./cmd/drone-buildx-ecr'
environment:
Expand Down Expand Up @@ -290,7 +290,7 @@ pool:
steps:
- name: build
pull: always
image: golang:1.22
image: golang:1.23
commands:
- GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-ecr-linux-amd64 ./cmd/drone-buildx-ecr
- GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-ecr-linux-arm64 ./cmd/drone-buildx-ecr
Expand Down
18 changes: 9 additions & 9 deletions .harness/harness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pipeline:
identifier: Vet
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: go vet ./...
- step:
Expand All @@ -42,7 +42,7 @@ pipeline:
identifier: Test
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: go test -cover ./...
variables:
Expand Down Expand Up @@ -70,7 +70,7 @@ pipeline:
identifier: Build
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -158,7 +158,7 @@ pipeline:
identifier: Build
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -237,7 +237,7 @@ pipeline:
identifier: BuildPush
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: |-
# force go modules
Expand All @@ -262,7 +262,7 @@ pipeline:
identifier: BuildTag
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -346,7 +346,7 @@ pipeline:
identifier: Build_Push
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: |-
# force go modules
Expand All @@ -371,7 +371,7 @@ pipeline:
identifier: Build_Tag
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: |-
# force go modules
Expand Down Expand Up @@ -471,7 +471,7 @@ pipeline:
identifier: Build
spec:
connectorRef: Plugins_Docker_Hub_Connector
image: golang:1.23.0
image: golang:1.23
shell: Sh
command: |-
GOOS=linux GOARCH=amd64 go build -ldflags "-s -w" -a -tags netgo -o release/drone-buildx-ecr-linux-amd64 ./cmd/drone-buildx-ecr
Expand Down
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/drone-buildx-ecr.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker/ecr/Dockerfile.linux.amd64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM plugins/buildx:linux-amd64
FROM plugins/buildx:1.3.2-linux-arm64

ADD release/linux/amd64/buildx-ecr /bin/
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/buildx-ecr"]
2 changes: 1 addition & 1 deletion docker/ecr/Dockerfile.linux.arm64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM plugins/buildx:linux-arm64
FROM plugins/buildx:1.3.2-linux-arm64

ADD release/linux/arm64/buildx-ecr /bin/
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/buildx-ecr"]
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.22
go 1.23
Binary file added release/linux/amd64/buildx-ecr
Binary file not shown.