Skip to content

feat: add option to move or copy file #47

feat: add option to move or copy file

feat: add option to move or copy file #47

Workflow file for this run

name: Build
on:
push:
branches: 'main'
jobs:
lint:
name: Lint project 🧹
runs-on: ubuntu-latest
steps:
-
name: Checkout repository
uses: actions/checkout@v4
-
name: Set up ShellCheck
run: sudo apt-get install -y shellcheck
-
name: Run spellcheck
run: shellcheck **/*.sh
build:
name: Create Docker image 📷
runs-on: ubuntu-latest
needs: [lint]
steps:
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and Push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/dirclean:latest