diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9fad096..dd8efa7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,6 +87,11 @@ jobs: username: ${{ secrets.DOCKER_ID }} password: ${{ secrets.DOCKER_ACCESS_TOKEN }} + - name: Build tran from Docker + run: | + task build + cp tran ./docker/vm + - name: Build Tran Containers run: | task build-tran-container diff --git a/docker/vm/Dockerfile b/docker/vm/Dockerfile index 7f9a571..3774851 100644 --- a/docker/vm/Dockerfile +++ b/docker/vm/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:latest -RUN apk update && apk upgrade && apk add --no-cache ca-certificates curl +RUN apk update && apk upgrade && apk add --no-cache ca-certificates -RUN curl -sL https://cutt.ly/tran-cli | bash +COPY tran /usr/bin/tran -ENTRYPOINT ["/usr/local/bin/tran"] +ENTRYPOINT ["/usr/bin/tran"]