-
Notifications
You must be signed in to change notification settings - Fork 962
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Changed OCI tag format (#5680)
Signed-off-by: Steve Hipwell <[email protected]> Co-authored-by: Jonathan Innis <[email protected]>
- Loading branch information
1 parent
64ad272
commit 3c4b0bf
Showing
16 changed files
with
308 additions
and
291 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
defaultBaseImage: public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base | ||
defaultPlatforms: | ||
- 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
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
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,19 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) | ||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" | ||
# shellcheck source=hack/release/common.sh | ||
source "${SCRIPT_DIR}/common.sh" | ||
|
||
config | ||
|
||
GIT_TAG=${GIT_TAG:-$(git describe --exact-match --tags || echo "none")} | ||
if [[ $(releaseType "$GIT_TAG") != $RELEASE_TYPE_STABLE ]]; then | ||
git_tag="${GIT_TAG:-$(git describe --exact-match --tags || echo "none")}" | ||
if [[ "${git_tag}" != v* ]]; then | ||
echo "Not a stable release. Missing required git tag." | ||
exit 1 | ||
fi | ||
echo "RenderingPrep website files for ${GIT_TAG}" | ||
echo "RenderingPrep website files for ${git_tag}" | ||
|
||
createNewWebsiteDirectory "$GIT_TAG" | ||
removeOldWebsiteDirectories | ||
editWebsiteConfig "$GIT_TAG" | ||
editWebsiteVersionsMenu | ||
prepareWebsite "${git_tag#v}" |
Oops, something went wrong.