1
1
Fork 0
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:
Máximo Cuadros 2020-03-17 18:57:37 +01:00
parent 5a5c80c2ee
commit ae924cf7b5
No known key found for this signature in database
GPG Key ID: 17A5DFEDC735AE4B
2 changed files with 3 additions and 8 deletions

View File

@ -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"]

View File

@ -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"