Skip to content

Merge pull request #1 from jaypatel1210/firefetch-docs #1

Merge pull request #1 from jaypatel1210/firefetch-docs

Merge pull request #1 from jaypatel1210/firefetch-docs #1

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: Build the Docker image
run: docker build firefetch --file firefetch/Dockerfile --tag jaypatel1210/firefetch:$(date +%s)
- name: Push the Docker image
run: docker push jaypatel1210/firefetch:$(date +%s)