Skip to content

don't trigger any update if ng ami is the same like the last one aws … #5

don't trigger any update if ng ami is the same like the last one aws …

don't trigger any update if ng ami is the same like the last one aws … #5

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
env:
AWS_REGION: us-west-2
APP_NAME: eks-ng-ami-updater
AWS_ECR_REPO: public.ecr.aws/loom
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
aws-access-key-id: ${{ secrets.CI_PUBLIC_REPOS_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.CI_PUBLIC_REPOS_AWS_SECRET_ACCESS_KEY }}
- name: ECR Login
uses: aws-actions/amazon-ecr-login@v2
with:
registry-type: public
mask-password: true
- name: Build & Push
run: make docker-push IMG=${AWS_ECR_REPO}/${APP_NAME} TAG=${GITHUB_REF_NAME}