pass GITHUB_REPOSITORY to ci

This commit is contained in:
Umputun
2019-10-31 22:58:46 -05:00
parent cd5f0b3b91
commit a60128a957
2 changed files with 5 additions and 2 deletions
+1
View File
@@ -38,6 +38,7 @@ jobs:
--build-arg GITHUB_SHA=$GITHUB_SHA \
--build-arg GITHUB_EVENT_NAME=$GITHUB_EVENT_NAME \
--build-arg GITHUB_EVENT_PATH=$GITHUB_EVENT_PATH \
--build-arg GITHUB_REPOSITORY=$GITHUB_REPOSITORY \
--build-arg COVERALLS_TOKEN=$COVERALLS_TOKEN \
.
env:
+4 -2
View File
@@ -4,9 +4,9 @@ ARG COVERALLS_TOKEN
ARG CI
ARG GIT_BRANCH
ARG GITHUB_SHA
ARG GITHUB_REF
ARG GITHUB_SHA
ARG GITHUB_SHA
ARG GITHUB_REPOSITORY
ARG GITHUB_EVENT_NAME
ARG GITHUB_EVENT_PATH
@@ -25,6 +25,8 @@ WORKDIR /build/backend
ENV GOFLAGS="-mod=vendor"
RUN env
# run tests
RUN \
cd app && \