Skip to content

ammarlakis/action-eks-latest-version

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

Repository files navigation

EKS Latest Version Action

This action fetches the latest version of AWS EKS.

Inputs

No inputs required.

Outputs

latest

The latest version of EKS.

Example usage

name: Check EKS Updates

on:
  push:
    branches:
      - master
  schedule:
    - cron: '0 0 * * *'

env:
  CURRENT_VERSION=1.24

jobs:
  check-version:
    runs-on: ubuntu-latest
    
    steps:
    - name: Checkout repository
      uses: actions/checkout@v4

    - name: Fetch Latest EKS Version
      id: eks-version
      uses: ammarlakis/action-eks-latest-version@master

    - name: Compare EKS Version to 1.24
      run: |
        if [ "$CURRENT_VERSION" = "${{ steps.eks-version.outputs.latest }}" ]; then
          echo "EKS is Up-to-date."
        else
          echo "A new update is available for EKS."
        fi

About

Get the latest version of eks

Resources

Stars

Watchers

Forks

Packages

No packages published