Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
bensolo-io committed Jul 3, 2023
1 parent 3c69831 commit 0f97ae5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Build and push Docker image
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
context: ./hack/argocd-rollouts-img
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM golang:1.20 as build

WORKDIR /src

ENV CGO_ENABLED=0

COPY go.* .

RUN go mod download

COPY . .

RUN go build -o /src/main

FROM quay.io/argoproj/argo-rollouts:v1.5.1

COPY --from=build /src/main /home/argo-rollouts/plugin

ENTRYPOINT ["/bin/rollouts-controller"]

0 comments on commit 0f97ae5

Please sign in to comment.