Skip to content

Commit

Permalink
Update Dockerfile with new release (#648)
Browse files Browse the repository at this point in the history
  • Loading branch information
michawai authored and tal-sapan committed Jan 1, 2020
1 parent c5a25eb commit e07b15f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,15 @@ jobs:
#Tag
git tag -a v${MBT_VERSION} -m "New release ${MBT_VERSION}"
git push https://github.com/SAP/cloud-mta-build-tool.git v${MBT_VERSION}
#Update Docker file in docker branch
git checkout docker
sed -i "/ARG MBT_VERSION=/ s/${CURR_MBT_VERSION}/${MBT_VERSION}/" ./Dockerfile
git add ./Dockerfile
git config user.email "${MBT_REPO_USER_EMAIL}"
git config user.name "${MBT_REPO_USER}"
git commit -m "[skip ci] Bump version ${MBT_VERSION}"
#Push commit directly to docker
git push -q https://github.com/SAP/cloud-mta-build-tool.git docker
- run:
name: export github token for releaser
command: |
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ builds:
ldflags: -s -w -X main.Version={{.Version}} -X main.BuildDate={{.Date}}
binary: mbt
env:
- GCO_ENABLED=0
- CGO_ENABLED=0
archive:
replacements:
darwin: Darwin
Expand Down

0 comments on commit e07b15f

Please sign in to comment.