Registers an AWS AppRunner Service and deploys the application using the source code of a given GitHub repository. Supports both source code and Docker image based service
MIT No Attribution
50
stars
32
forks
source link
Image is ignored for existing App Runner Service #13
Run awslabs/amazon-app-runner-deploy@main
with:
service: demo-env
image: ***/<<redacted>>/demo:develop
access-role-arn: ***
region: <<redacted>>
cpu: 1
memory: 2
wait-for-service-stability: true
env:
AWS_REGION: <<redacted>>
AWS_DEFAULT_REGION: <<redacted>>
AWS_ACCESS_KEY_ID: ***
AWS_SECRET_ACCESS_KEY: ***
Updating existing service demo-env
Service update initiated with operation ID - <<redacted>>
Waiting for the service <<redacted>> to reach stable state
Service <<redacted>> has reached the stable state RUNNING
App Runner step - DONE!
Repro steps:
main
anddevelop
)main
image
set to the second image, e.g.develop
develop
image is deployedCurrent result: Service was refreshed but with the first image (
main
)Expected result: Image from the
image
field should be used for the new service instance.My setup:
demo:main
anddemo:develop
are uploaded to ECRdemo-env
App Runner service is configured withmain
imageimageTag
set todevelop
Job log: