Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
skynet-core committed Dec 7, 2020
1 parent e692e9a commit 37ba2f3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
5 changes: 0 additions & 5 deletions Dockerfile

This file was deleted.

4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,4 @@ outputs:
description: "Created package's name"
runs:
using: 'docker'
image: 'Dockerfile'
args:
- TAG=v1.0
image: 'docker://smartcoder/nfpm:v1.0'
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION}
ARG NFPM_VERSION=1.10.2
ENV NFPM_VERSION=${NFPM_VERSION}

RUN echo "Packaging nfpm version: ${NFPM_VERSION}" && apk update && apk upgrade && apk add --no-cache git bash && \
RUN echo "Packaging nfpm version: ${NFPM_VERSION}" && apk update && apk upgrade && apk add --no-cache git bash sudo && \
cd /tmp && git clone https://github.com/goreleaser/nfpm && \
cd ./nfpm && git checkout "v${NFPM_VERSION}" && \
go mod download && cat cmd/nfpm/main.go | sed "s|version = \"master\"|version = \"${NFPM_VERSION}\"|g" > /tmp/main.go && mv /tmp/main.go cmd/nfpm/main.go && \
Expand Down

0 comments on commit 37ba2f3

Please sign in to comment.