Skip to content

Bump marocchino/validate-dependabot from 2.1.0 to 2.2.0 #240

Bump marocchino/validate-dependabot from 2.1.0 to 2.2.0

Bump marocchino/validate-dependabot from 2.1.0 to 2.2.0 #240

Workflow file for this run

name: Dockerhub Build CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Code Checkout
uses: actions/checkout@v4
# Validate Dependabot configuration
- name: validate-dependabot
uses: marocchino/[email protected]
# Install Docker
- name: Set up docker build
uses: docker/[email protected]
with:
install: true
- name: Set Up JDK
uses: actions/setup-java@v3
with:
distribution: corretto
java-version: 17
# Builds java-based gradle project
- name: Gradle Build
uses: gradle/[email protected]
with:
build-root-directory: devopsguru_eks_test
gradle-version: 8.1.1
arguments: build
# Build and push Docker image
- name: Build Docker Image, but no push
uses: docker/[email protected]
with:
context: devopsguru_eks_test
tags: amazon/aws-devopsguru-eks-test-harness-test-service:latest