-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use hub.docker.com ddev org instead of drud org (#5)
- Loading branch information
Showing
6 changed files
with
11 additions
and
11 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
set -eu -o pipefail | ||
|
||
MINORVERSION=${BASE:-drud/mysql:$(cat base_version.txt)} | ||
MINORVERSION=${BASE:-ddev/mysql:$(cat base_version.txt)} | ||
MAJORVERSION=${MINORVERSION%.*} | ||
|
||
echo "Pushing mysql:$MINORVERSION" | ||
set -x | ||
# Build only current architecture and load into docker | ||
docker buildx build --target=mysql -t ${MINORVERSION} -t ${MAJORVERSION} --push --platform=linux/arm64,linux/amd64 . | ||
docker buildx build --target=mysql -t ${MINORVERSION} -t ${MAJORVERSION} --push --platform=linux/arm64,linux/amd64 . |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
#!/bin/bash | ||
set -eu -o pipefail | ||
|
||
REPO_NAME=drud/mysql | ||
REPO_NAME=ddev/mysql | ||
MYSQL_PACKAGE_VERSION=$(cat mysql_version.txt) | ||
MYSQL_MINOR=${MYSQL_PACKAGE_VERSION%%-*} | ||
MYSQL_MAJOR=${MYSQL_MINOR%.*} | ||
XTRABACKUP_PACKAGE_VERSION=$(cat xtrabackup_version.txt) | ||
|
||
set -x | ||
# Build only current architecture and load into docker | ||
docker buildx build --progress plain --no-cache --build-arg=XTRABACKUP_PACKAGE_VERSION="${XTRABACKUP_PACKAGE_VERSION}" --build-arg="MYSQL_PACKAGE_VERSION=${MYSQL_PACKAGE_VERSION}" --target=mysql -t ${REPO_NAME}:${MYSQL_MAJOR} -t ${REPO_NAME}:${MYSQL_MINOR} . | ||
docker buildx build --progress plain --no-cache --build-arg=XTRABACKUP_PACKAGE_VERSION="${XTRABACKUP_PACKAGE_VERSION}" --build-arg="MYSQL_PACKAGE_VERSION=${MYSQL_PACKAGE_VERSION}" --target=mysql -t ${REPO_NAME}:${MYSQL_MAJOR} -t ${REPO_NAME}:${MYSQL_MINOR} . |
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