Skip to content

Instantly share code, notes, and snippets.

View JimmyBjorklund's full-sized avatar

Jimmy Björklund JimmyBjorklund

  • Stockholm, Sweden
View GitHub Profile
@JimmyBjorklund
JimmyBjorklund / aws-tag.yaml
Last active December 3, 2021 09:29
Use Github actions to push tags to AWS ECR
name: Deploy tag and push to ECR
on:
push:
tags:
- "v*"
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: eu-west-1 # set this to your preferred AWS region, e.g. us-west-1
@JimmyBjorklund
JimmyBjorklund / aws-develop.yaml
Last active December 3, 2021 09:30
Use github actions to deploy to AWS EKS and ECR, will build your development branch and tag with develop-n and latest.
name: Deploy to Develop ECR
on:
push:
branches:
- develop
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}