mirror of
https://github.com/mcuadros/ascode
synced 2024-05-31 11:56:23 +02:00
image based on mcuadros/ascode
This commit is contained in:
parent
5a5c80c2ee
commit
ae924cf7b5
|
@ -1,14 +1,9 @@
|
|||
FROM golang:1.14-alpine
|
||||
FROM mcuadros/ascode:latest
|
||||
|
||||
LABEL MAINTAINER="Máximo Cuadros <mcuadros@gmail.com>"
|
||||
LABEL "com.github.actions.description"="convert starlark files to HCL"
|
||||
LABEL "com.github.actions.description"="converts starlark files to HCL"
|
||||
LABEL "com.github.actions.name"="ascode-action"
|
||||
LABEL "com.github.actions.color"="blue"
|
||||
|
||||
RUN ["/bin/sh", "-c", "apk add --update --no-cache bash ca-certificates curl git"]
|
||||
|
||||
RUN GO111MODULE=on go get github.com/mcuadros/ascode@239a9ab
|
||||
|
||||
COPY entrypoint.sh /
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
|
@ -5,4 +5,4 @@ unset GOROOT
|
|||
unset GOPATH
|
||||
|
||||
cd $GITHUB_WORKSPACE
|
||||
/go/bin/ascode run "$INPUT_FILE" --to-hcl "$INPUT_HCL"
|
||||
/bin/ascode run "$INPUT_FILE" --to-hcl "$INPUT_HCL"
|
||||
|
|
Loading…
Reference in New Issue