Use push hook for actual pushing
This commit is contained in:
parent
9ab9eb0237
commit
676c042a73
|
@ -1,3 +1,4 @@
|
|||
#!/bin/bash
|
||||
docker buildx create --name multiarch --use
|
||||
docker buildx build --push --platform linux/amd64,linux/arm64 . -t 2martens/qodana-jvm-community-drone-plugin:2023.2 -t 2martens/qodana-jvm-community-drone-plugin:latest
|
||||
docker buildx build --platform linux/amd64 . -t 2martens/qodana-jvm-community-drone-plugin:2023.2-amd64
|
||||
docker buildx build --platform linux/arm64 . -t 2martens/qodana-jvm-community-drone-plugin:2023.2-arm64
|
||||
|
|
|
@ -1 +1,7 @@
|
|||
#!/bin/bash
|
||||
docker push 2martens/qodana-jvm-community-drone-plugin:2023.2-amd64
|
||||
docker push 2martens/qodana-jvm-community-drone-plugin:2023.2-arm64
|
||||
docker manifest create 2martens/qodana-jvm-community-drone-plugin:2023.2 2martens/qodana-jvm-community-drone-plugin:2023.2-amd64 2martens/qodana-jvm-community-drone-plugin:2023.2-arm64
|
||||
docker tag 2martens/qodana-jvm-community-drone-plugin:2023.2 2martens/qodana-jvm-community-drone-plugin:latest
|
||||
docker push 2martens/qodana-jvm-community-drone-plugin:2023.2
|
||||
docker push 2martens/qodana-jvm-community-drone-plugin:latest
|
||||
|
|
Loading…
Reference in New Issue