Skip to content

Commit c766399

Browse files
committed
gha: add ECR as registry to push images to
1 parent a5eda33 commit c766399

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
# list of Docker images to use as base name for tags
3838
images: |
3939
redpandadata/kminion
40+
public.ecr.aws/l9j0i2e0/kminion
4041
# generate Docker tags based on the following events/attributes
4142
# Semver type is only active on 'push tag' events,
4243
# hence no enable condition required
@@ -47,6 +48,10 @@ jobs:
4748
with:
4849
username: ${{ env.DOCKERHUB_USER }}
4950
password: ${{ env.DOCKERHUB_TOKEN }}
51+
- name: login to amazon ECR Public
52+
uses: aws-actions/amazon-ecr-login@v2
53+
with:
54+
registry-type: public
5055
- uses: docker/build-push-action@v6
5156
with:
5257
provenance: false

0 commit comments

Comments
 (0)