This repository was archived by the owner on Aug 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2222 uses : actions/setup-go@v2
2323 with :
2424 go-version : 1.15
25- - name : Run GoReleaser
26- uses : goreleaser/goreleaser-action@v2
27- with :
28- version : latest
29- args : release --rm-dist
30- env :
31- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
3225 - name : Login to DockerHub
3326 uses : docker/login-action@v1
3427 with :
4437 build-args : |
4538 BUILD_TIME=${{ steps.vars.outputs.build_time }}
4639 VCS_REF=${{ steps.vars.outputs.sha_short }}
40+ - name : Run GoReleaser
41+ uses : goreleaser/goreleaser-action@v2
42+ with :
43+ version : latest
44+ args : release --rm-dist
45+ env :
46+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4747 - name : Push
4848 run : docker push trendyoltech/certificator:${{ steps.vars.outputs.latest_tag }}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ org.opencontainers.image.description="Creating K8S Secret which type is tls that
1010org.opencontainers.image.vendor="Trendyol" \
1111org.opencontainers.image.revision=$VCS_REF \
1212org.opencontainers.image.created=$BUILD_TIME \
13- org.opencontainers.image.source="https://https:// github.com/Trendyol/k8s-webhook-certificator"
13+ org.opencontainers.image.source="https://github.com/Trendyol/k8s-webhook-certificator"
1414
1515WORKDIR /app
1616
@@ -24,6 +24,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v .
2424
2525FROM scratch
2626
27- COPY --from=builder /app/certificator ./certificator
27+ COPY --from=builder /app/k8s-webhook- certificator ./k8s-webhook- certificator
2828
29- ENTRYPOINT ["./certificator" ]
29+ ENTRYPOINT ["./k8s-webhook- certificator" ]
You can’t perform that action at this time.
0 commit comments