Skip to content

Commit

Permalink
all: improve scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ainar-g committed Dec 24, 2020
1 parent 3f32e3f commit fa5a304
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
'uses': '8398a7/action-slack@v3'
'with':
'status': '${{ env.WORKFLOW_CONCLUSION }}'
'fields': 'repo, message, commit, author, job'
'fields': 'repo, message, commit, author, workflow'
'env':
'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}'
'SLACK_WEBHOOK_URL': '${{ secrets.SLACK_WEBHOOK_URL }}'
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
'uses': '8398a7/action-slack@v3'
'with':
'status': '${{ env.WORKFLOW_CONCLUSION }}'
'fields': 'repo, message, commit, author, job'
'fields': 'repo, message, commit, author, workflow'
'env':
'GITHUB_TOKEN': '${{ secrets.GITHUB_TOKEN }}'
'SLACK_WEBHOOK_URL': '${{ secrets.SLACK_WEBHOOK_URL }}'
4 changes: 2 additions & 2 deletions scripts/build-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ readonly commit="$COMMIT"
readonly version="$VERSION"

# For buildx.
export DOCKER_CLI_EXPERIMENTAL='enabled'
export BUILDX_NO_DEFAULT_LOAD='true' DOCKER_CLI_EXPERIMENTAL='enabled'

readonly docker_platforms="\
linux/386,\
Expand Down Expand Up @@ -53,7 +53,7 @@ in
readonly docker_tags=''
;;
('development')
readonly docker_image_full_name="#{docker_image_name}"
readonly docker_image_full_name="${docker_image_name}"
readonly docker_tags=''
;;
(*)
Expand Down
2 changes: 1 addition & 1 deletion scripts/go-lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ not_found_msg='
looks like a binary not found error.
make sure you have installed the linter binaries using:
$ make go-install-tools
$ make go-tools
'

not_found() {
Expand Down

0 comments on commit fa5a304

Please sign in to comment.