From b6b87c5e2aa54be6812822c1ba4e0d3c115d7f27 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Thu, 3 Aug 2023 19:36:49 +0200 Subject: [PATCH] Back to working order --- hooks/build | 2 +- hooks/post_push | 3 --- hooks/push | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 hooks/post_push create mode 100644 hooks/push diff --git a/hooks/build b/hooks/build index 860b1a6..edce5e5 100644 --- a/hooks/build +++ b/hooks/build @@ -1,3 +1,3 @@ #!/bin/bash docker buildx create --name multiarch --use -docker buildx build --load --platform linux/arm64,linux/amd64 . -t 2martens/qodana-jvm-community-drone-plugin:2023.2 -t 2martens/qodana-jvm-community-drone-plugin:latest +docker buildx build --push --platform linux/arm64,linux/amd64 . -t 2martens/qodana-jvm-community-drone-plugin:2023.2 -t 2martens/qodana-jvm-community-drone-plugin:latest diff --git a/hooks/post_push b/hooks/post_push deleted file mode 100644 index 07bf807..0000000 --- a/hooks/post_push +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash -docker push 2martens/qodana-jvm-community-drone-plugin:2023.2 -docker push 2martens/qodana-jvm-community-drone-plugin:latest diff --git a/hooks/push b/hooks/push new file mode 100644 index 0000000..a9bf588 --- /dev/null +++ b/hooks/push @@ -0,0 +1 @@ +#!/bin/bash