Skip to content

Commit

Permalink
Merge a79dffd into 12f59ca
Browse files Browse the repository at this point in the history
  • Loading branch information
pashagolub committed Apr 12, 2022
2 parents 12f59ca + a79dffd commit 72de79c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
echo "::set-output name=RELEASE_TIME::$(git show -s --format=%cI HEAD)"
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
uses: elgohr/Publish-Docker-Github-Action@v4
env:
VERSION: ${{ github.ref_name }}
COMMIT: ${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN go mod download
COPY . .

# Build the application
RUN go build -ldflags "-X main.commit=${COMMIT} -X main.version=${VERSION} -X main.date=${DATE}" -o pg_timetable .
RUN go build -buildvcs=false -ldflags "-X main.commit=${COMMIT} -X main.version=${VERSION} -X main.date=${DATE}" -o pg_timetable .

FROM scratch

Expand Down

0 comments on commit 72de79c

Please sign in to comment.