Skip to content

Commit

Permalink
- Adding support for aarch images
Browse files Browse the repository at this point in the history
  - Adding support for aarch64 images
  - Changing the default repo to ghcr (test registry)
  - version bump
  • Loading branch information
rnishtala-sumo committed Oct 12, 2022
1 parent dfbe35d commit 03f058e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions plugin_build.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

VERSION="1.0.5"
VERSION="1.0.6"

build_plugin () {
ACTION=$1
Expand All @@ -22,12 +22,12 @@ build_plugin () {
docker rm -vf "$id"

cp config.json ./sumoplugin/
docker plugin create sumologic/docker-logging-driver:${VERSION_ARCH} ./sumoplugin/
docker plugin create ghcr.io/sumologic/docker-logging-driver:${VERSION_ARCH} ./sumoplugin/

if [[ "$ACTION" == "install" ]]; then
docker plugin enable sumologic/docker-logging-driver:${VERSION_ARCH}
docker plugin enable ghcr.io/sumologic/docker-logging-driver:${VERSION_ARCH}
elif [[ "$ACTION" == "push" ]]; then
docker plugin push sumologic/docker-logging-driver:${VERSION_ARCH}
docker plugin push ghcr.io/sumologic/docker-logging-driver:${VERSION_ARCH}
else
echo "Invalid action ${ACTION}, must be 'install' or 'push'."
fi
Expand Down
2 changes: 1 addition & 1 deletion plugin_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source ./plugin_build.sh

for arch in "" "amd64" "arm64"; do
for arch in "" "amd64" "arm64" "aarch64"; do
build_plugin "install" $arch
done
2 changes: 1 addition & 1 deletion plugin_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

source ./plugin_build.sh

for arch in "" "amd64" "arm64"; do
for arch in "" "amd64" "arm64" "aarch64"; do
build_plugin "push" $arch
done

0 comments on commit 03f058e

Please sign in to comment.