Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
Signed-off-by: Yuvraj <evalsocket@users.noreply.github.com>
  • Loading branch information
Yuvraj committed Jan 9, 2023
1 parent 13cfbd3 commit f47c9c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
9 changes: 0 additions & 9 deletions Dockerfile

This file was deleted.

10 changes: 1 addition & 9 deletions hooks/post-command
Expand Up @@ -3,15 +3,7 @@
set -euo pipefail

function get_pipeline() {
# To dont spit to stdout pulling logs
docker pull docker.io/evalsocket/rollback-buildkite-plugin:0.0.1 > /dev/null

docker run --rm \
-e BUILDKITE_API_TOKEN \
-e BUILDKITE_ORGANIZATION_SLUG \
-e BUILDKITE_PIPELINE_SLUG \
-e BUILDKITE_PIPELINE_DEFAULT_BRANCH \
docker.io/evalsocket/rollback-buildkite-plugin:0.1.1
go run main.go
}

if [ $BUILDKITE_COMMAND_EXIT_STATUS != 0 ]; then
Expand Down

0 comments on commit f47c9c5

Please sign in to comment.