-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker(blueprints): move architecture from image name to tag (#149)
- Loading branch information
1 parent
9d7b075
commit 2061338
Showing
10 changed files
with
20 additions
and
17 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
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
4 changes: 2 additions & 2 deletions
4
packages/python/tests/blueprints/multi-arch-buildx-platform/fixtures/ci/_push-image.sh
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,5 +1,5 @@ | ||
#!/bin/bash | ||
imageName=$1 | ||
set -euxo pipefail | ||
docker tag staged-image:latest "ghcr.io/repo-owner/$ARCH-$imageName:$M_TAG" | ||
docker push "ghcr.io/repo-owner/$ARCH-$imageName:$M_TAG" | ||
docker tag staged-image:latest "ghcr.io/repo-owner/$imageName:$ARCH-$M_TAG" | ||
docker push "ghcr.io/repo-owner/$imageName:$ARCH-$M_TAG" |
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
4 changes: 2 additions & 2 deletions
4
packages/python/tests/blueprints/multi-arch-buildx/fixtures/ci/_push-image.sh
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,5 +1,5 @@ | ||
#!/bin/bash | ||
imageName=$1 | ||
set -euxo pipefail | ||
docker tag staged-image:latest "ghcr.io/repo-owner/$ARCH-$imageName:$M_TAG" | ||
docker push "ghcr.io/repo-owner/$ARCH-$imageName:$M_TAG" | ||
docker tag staged-image:latest "ghcr.io/repo-owner/$imageName:$ARCH-$M_TAG" | ||
docker push "ghcr.io/repo-owner/$imageName:$ARCH-$M_TAG" |
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
4 changes: 2 additions & 2 deletions
4
packages/python/tests/blueprints/multi-arch/fixtures/ci/_push-image.sh
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,5 +1,5 @@ | ||
#!/bin/bash | ||
imageName=$1 | ||
set -euxo pipefail | ||
docker tag staged-image:latest "ghcr.io/repo-owner/$ARCH-$imageName:$M_TAG" | ||
docker push "ghcr.io/repo-owner/$ARCH-$imageName:$M_TAG" | ||
docker tag staged-image:latest "ghcr.io/repo-owner/$imageName:$ARCH-$M_TAG" | ||
docker push "ghcr.io/repo-owner/$imageName:$ARCH-$M_TAG" |