Skip to content

Commit

Permalink
Add nfpm to all buildboxes.
Browse files Browse the repository at this point in the history
  • Loading branch information
skyzyx committed Apr 9, 2024
1 parent 6a739e3 commit 5486794
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion buildboxes/alpine/Dockerfile.v3.17
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/alpine/Dockerfile.v3.18
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/alpine/Dockerfile.v3.19
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/alpine/_dockerfile.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/amzn/Dockerfile.v2
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/amzn/Dockerfile.v2023
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/ubuntu/Dockerfile.v20.04
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/ubuntu/Dockerfile.v22.04
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down
3 changes: 2 additions & 1 deletion buildboxes/ubuntu/_dockerfile.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ COPY download-asset.toml /etc/download-asset/download-asset.toml
RUN go install github.com/northwood-labs/download-asset@latest

RUN --mount=type=secret,id=GITHUB_TOKEN GITHUB_TOKEN="$(cat /run/secrets/GITHUB_TOKEN)" \
download-asset get --owner-repo goreleaser/goreleaser-pro
download-asset get --owner-repo goreleaser/goreleaser-pro && \
download-asset get --owner-repo goreleaser/nfpm

# Labels
ARG BUILD_DATE
Expand Down

0 comments on commit 5486794

Please sign in to comment.