Skip to content

Commit

Permalink
Merge pull request #145 from sbe-arg/bump/alpine
Browse files Browse the repository at this point in the history
3.15 bump + gitaction runner unsafe.directory hotfix
  • Loading branch information
anothrNick committed Apr 14, 2022
2 parents 37ff487 + 64fca1c commit 3840ec2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
@@ -1,10 +1,10 @@
FROM alpine:3.10
FROM node:12-alpine3.15
LABEL "repository"="https://github.com/anothrNick/github-tag-action"
LABEL "homepage"="https://github.com/anothrNick/github-tag-action"
LABEL "maintainer"="Nick Sjostrom"

COPY entrypoint.sh /entrypoint.sh

RUN apk update && apk add bash git curl jq && apk add --update nodejs npm && npm install -g semver
RUN apk update && apk add bash git curl jq && npm install -g semver

ENTRYPOINT ["/entrypoint.sh"]
3 changes: 3 additions & 0 deletions entrypoint.sh
Expand Up @@ -13,6 +13,9 @@ initial_version=${INITIAL_VERSION:-0.0.0}
tag_context=${TAG_CONTEXT:-repo}
suffix=${PRERELEASE_SUFFIX:-beta}
verbose=${VERBOSE:-true}
verbose=${VERBOSE:-true}
# since https://github.blog/2022-04-12-git-security-vulnerability-announced/ runner uses?
git config --global --add safe.directory /github/workspace

cd ${GITHUB_WORKSPACE}/${source}

Expand Down

0 comments on commit 3840ec2

Please sign in to comment.