Skip to content

fdiesel/github-action-deploy-aws-lightsail-container

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-action-deploy-aws-lightsail-container

Deploy container to AWS Lightsail

  steps:

    - name: Checkout repository
      uses: actions/checkout@v3

    - name: Build
      uses: docker/build-push-action@v4.0.0
      with:
        context: .
        push: false
        tags: registry/name:tag

    - uses: fdiesel/github-action-deploy-aws-lightsail-container@version
      with:
        image-name: name
        image: registry/name:tag
        aws-region: ${{ secrets.AWS_REGION }}
        aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
        aws-access-key: ${{ secrets.AWS_ACCESS_KEY }}
        aws-lightsail-service: ${{ secrets.AWS_LIGHTSAIL_SERVICE }}
        aws-lightsail-service-config: ${{ secrets.AWS_LIGHTSAIL_SERVICE_CONFIG }}
        aws-lightsail-clear-images: false

About

Deploy container to AWS Lightsail

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •