File tree Expand file tree Collapse file tree 3 files changed +0
-42
lines changed Expand file tree Collapse file tree 3 files changed +0
-42
lines changed Original file line number Diff line number Diff line change 8787
8888 - name : Build
8989 run : task build
90-
91- build-image :
92- runs-on : ubuntu-latest
93- if : github.ref == 'refs/heads/main'
94- steps :
95- - name : Checkout
96- uses : actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
97-
98- - name : Set up QEMU
99- uses : docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
100-
101- - name : Hub login
102- uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
103- with :
104- username : ${{ vars.DOCKERBUILDBOT_USERNAME }}
105- password : ${{ secrets.DOCKERBUILDBOT_WRITE_PAT }}
106-
107- - name : Set up Docker Buildx
108- uses : docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
109- with :
110- version : " lab:latest"
111- driver : cloud
112- endpoint : " docker/make-product-smarter"
113- install : true
114-
115- - name : Install Task
116- uses : arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 # v2.0.0
117- with :
118- repo-token : ${{ secrets.GITHUB_TOKEN }}
119- version : 3.x
120-
121- - name : Build
122- run : task build-image
Original file line number Diff line number Diff line change @@ -63,8 +63,3 @@ COPY --from=builder /binaries/cagent-$TARGETOS-$TARGETARCH cagent
6363
6464FROM scratch AS cross
6565COPY --from=builder /binaries .
66-
67- FROM alpine:3.22@sha256:4bcff63911fcb4448bd4fdacec207030997caf25e9bea4045fa6c8c44de311d1
68- RUN apk add --no-cache curl socat
69- COPY --from=build-agent /agent /
70- ENTRYPOINT [ "/agent" ]
Original file line number Diff line number Diff line change @@ -57,10 +57,6 @@ tasks:
5757 - " {{.GO_SOURCES}}"
5858 - " **/*.txt"
5959
60- build-image :
61- desc : Build Docker image
62- cmd : docker buildx build -t docker/cagent:latest {{.BUILD_ARGS}} .
63-
6460 build-local :
6561 desc : Build binaries for local host platform
6662 cmd : docker buildx build --target=local {{.BUILD_ARGS}} --platform local --output=./dist .
You can’t perform that action at this time.
0 commit comments