Skip to content

Update Dockerfile and README.md to specify lazygit version and enhanc… #9

Update Dockerfile and README.md to specify lazygit version and enhanc…

Update Dockerfile and README.md to specify lazygit version and enhanc… #9

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker build . --file Dockerfile --tag ataiva/devops-image:latest
- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Push to DockerHub
if: github.event_name != 'pull_request'
run: docker push ataiva/devops-image:latest