Skip to content

Commit

Permalink
add public
Browse files Browse the repository at this point in the history
  • Loading branch information
fyInALT committed Mar 26, 2024
1 parent f86cae0 commit bdd934b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release-aggregator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
CARGO_INCREMENTAL: "0"
CARGO_NET_GIT_FETCH_WITH_CLI: true
ECR_REPO: 305587085711.dkr.ecr.us-west-2.amazonaws.com/mach-aggregator
# PUB_REPO: public.ecr.aws
PUB_REPO: public.ecr.aws/altlayer/mach-aggregator

jobs:
build-docker-image:
Expand All @@ -31,12 +31,12 @@ jobs:
username: ${{ secrets.ECR_ACCESS_KEY_ID }}
password: ${{ secrets.ECR_ACCESS_KEY }}

# - name: Login to public ECR
# uses: docker/login-action@v3
# with:
# registry: ${{ env.PUB_REPO }}
# username: ${{ secrets.ECR_ACCESS_KEY_ID }}
# password: ${{ secrets.ECR_ACCESS_KEY }}
- name: Login to public ECR
uses: docker/login-action@v3
with:
registry: ${{ env.PUB_REPO }}
username: ${{ secrets.ECR_ACCESS_KEY_ID }}
password: ${{ secrets.ECR_ACCESS_KEY }}

- name: Checkout Sources
uses: actions/checkout@v4
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
with:
images: |
${{ env.ECR_REPO }}
# ${{ env.PUB_REPO }}/altlayer/mach-avs
${{ env.PUB_REPO }}
flavor: |
prefix=
suffix=
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
CARGO_INCREMENTAL: "0"
CARGO_NET_GIT_FETCH_WITH_CLI: true
ECR_REPO: 305587085711.dkr.ecr.us-west-2.amazonaws.com/mach-operator
PUB_REPO: public.ecr.aws/altlayer/amach-operator
PUB_REPO: public.ecr.aws/altlayer/mach-operator

jobs:
build-docker-image:
Expand Down Expand Up @@ -94,7 +94,6 @@ jobs:
builder: ${{ steps.docker-builder.outputs.name }}
target: app
push: ${{ github.event_name != 'pull_request' }}
# push: true
provenance: false
cache-from: |
type=registry,ref=${{ env.ECR_REPO }}:latest
Expand Down

0 comments on commit bdd934b

Please sign in to comment.