-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM golang:1.18 as builder | ||
|
||
WORKDIR /app | ||
COPY . /app/ | ||
|
||
RUN go get -d -v | ||
|
||
# Statically compile our app for use in a distroless container | ||
RUN CGO_ENABLED=0 go build -ldflags="-w -s" -v -o app . | ||
|
||
# A distroless container image with some basics like SSL certificates | ||
# https://github.com/GoogleContainerTools/distroless | ||
FROM gcr.io/distroless/static | ||
|
||
COPY --from=builder /app/app /app | ||
|
||
ENTRYPOINT ["/app"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
name: "Readme update Actions" | ||
description: "Fetch latest blog posts and add it to GitHub profile's readME dynamically" | ||
description: "Fetch latest blog posts and add it to GitHub profile's readme dynamically" | ||
author: "Shubham Kumar" | ||
inputs: | ||
include: | ||
# inputs: | ||
# readme_path: | ||
# max_post: | ||
# rss_list: | ||
# commit_user: | ||
# commit_email: | ||
# commit_message: | ||
# outputs: | ||
# result_post: | ||
|
||
runs: | ||
using: "docker" | ||
image: "Dockerfile" | ||
|
||
branding: | ||
icon: 'file-text' | ||
color: 'red' |