Skip to content

for check github actions #8

for check github actions

for check github actions #8

name: 'Build docker image terraform-utils'
on:
push:
branches:
- 'main'
- 'onboarding'
# paths:
# - 'docker/terraform-utils/Dockerfile'
jobs:
push_to_registries:
name: Build and Push Docker image
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and Push
uses: docker/build-push-action@v5
with:
push: true
context: docker/terraform-utils/
tags: maddevsio/terraform-utils:latest