Skip to content

Commit

Permalink
INTG-2169 pass docker arguments (#229)
Browse files Browse the repository at this point in the history
pass docker arguments to goreleaser
  • Loading branch information
MickStanciu authored Mar 23, 2022
1 parent a268501 commit be97ca4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
with:
go-version: 1.17

- name: Setup release environment
run: |-
echo 'GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}' >> .release-env
- name: Run GoReleaser
run: make release \
docker-user=docker \
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ release:
--env DOCKER_USERNAME=$(docker-user) \
--env DOCKER_PASSWORD=$(docker-password) \
--env DOCKER_HOST=$(docker-host) \
--env-file .release-env \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
-w /go/src/$(PACKAGE_NAME) \
Expand Down

0 comments on commit be97ca4

Please sign in to comment.