Skip to content

Commit 5e110ee

Browse files
committed
Push preview images to GHCR instead of ECR
Replace internal ECR override registries with ghcr.io for package-manager-preview dev version images (both preview and daily streams). This aligns with the pattern already used by images-connect and eliminates the AWS OIDC dependency from the development workflow.
1 parent 711f693 commit 5e110ee

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/development.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,8 @@ jobs:
4242
permissions:
4343
contents: read
4444
packages: write
45-
id-token: write # Required for AWS OIDC login
4645

4746
uses: "posit-dev/images-shared/.github/workflows/bakery-build-native.yml@main"
48-
secrets:
49-
AWS_ROLE: ${{ secrets.AWS_ROLE }}
5047
with:
5148
dev-versions: "only"
5249
# Push images only for merges into main and hourly schduled re-builds.

bakery.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ images:
4949
- linux/arm64
5050
- name: Ubuntu 22.04
5151
overrideRegistries:
52-
- host: "528395739535.dkr.ecr.us-east-2.amazonaws.com"
52+
- host: "ghcr.io"
53+
namespace: "posit-dev"
5354
repository: "package-manager-preview"
5455
- sourceType: "stream"
5556
product: "package-manager"
@@ -62,7 +63,8 @@ images:
6263
- linux/arm64
6364
- name: Ubuntu 22.04
6465
overrideRegistries:
65-
- host: "528395739535.dkr.ecr.us-east-2.amazonaws.com"
66+
- host: "ghcr.io"
67+
namespace: "posit-dev"
6668
repository: "package-manager-preview"
6769
variants:
6870
- name: Standard

0 commit comments

Comments
 (0)