Skip to content

chore: add README file #7

chore: add README file

chore: add README file #7

# name: FireFetch Docker Image CI
# on:
# push:
# branches: ['main']
# paths:
# - firefetch/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to Docker Hub
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Generate Docker tag
id: docker_tag
run: echo "tag=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
- name: Build the Docker image
run: docker build firefetch --file firefetch/Dockerfile --tag jaypatel1210/firefetch:${{ steps.docker_tag.outputs.tag }}
- name: Push the Docker image
run: docker push jaypatel1210/firefetch:${{ steps.docker_tag.outputs.tag }}