-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrades alpine version and publishes a multi architecture docker image
- Loading branch information
Julio Viera
committed
Aug 27, 2023
1 parent
ed79c56
commit 784608e
Showing
2 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
VERSION="$1" | ||
|
||
if [ -z "$VERSION" ]; then | ||
echo "Usage ./deploy.sh <version>" | ||
exit 3 | ||
fi | ||
|
||
if [ "$OPENVPN_PORT_UDP" == "off" ];then | ||
OPENVPN_PORT_UDP= | ||
fi | ||
|
||
docker buildx build --platform=linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm/v8,linux/386 . -t julman99/eatmemory:$VERSION -t julman99/eatmemory:latest --push |