Automatic Publishing of Docker Images To Git Registry#90
Closed
mdvertola wants to merge 2 commits intoaws-samples:mainfrom
Closed
Automatic Publishing of Docker Images To Git Registry#90mdvertola wants to merge 2 commits intoaws-samples:mainfrom
mdvertola wants to merge 2 commits intoaws-samples:mainfrom
Conversation
|
This could be simplified + use multi-arch builds using actions (untested): - name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build latest
uses: docker/build-push-action@v6
with:
context: .
file: ./src/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: |
ghcr.io/${{ github.repository_owner }}/bedrock-access-gateway:${{ env.SHORT_SHA }}
ghcr.io/${{ github.repository_owner }}/bedrock-access-gateway:latest
target: ${{ github.repository_owner }}
push: true
|
|
Hi, any progress on this, would be cool to have it in ghcr.io, thanks! 🚀 |
Member
|
This repo is intended to provide the guidance of OpenAI compatible API for Bedrock. You need to follow the guide to deploy all assets in your AWS account. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue #, if available: N/A
Description of changes:
Adding a github workflow that builds and uploads the gateway and gateway-ecs images on merges to main to the github container registry.
Important call-outs to this PR:
SHORT_SHA)SHORT_SHAandSHORT_SHA-ecsOther:
if this is already published somewhere please add to docs! I luckily only took a short side step here to make this happen since i had a lot of the workflow file sitting around from other projects and know the eco system well but i am sure this could create a lot of friction/ poor DX for those not as familiar.
All in all though thanks for the work here in building this, seems to be a rock solid implementation and hope that the more i use it, the more I can contribute! Cheers to you guys for this.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.