diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml deleted file mode 100644 index f61123a..0000000 --- a/.github/workflows/image.yml +++ /dev/null @@ -1,45 +0,0 @@ -# SPDX-License-Identifier: MIT - -name: Build Docker Image - -on: - workflow_dispatch: - release: - types: [published] - -env: - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} - -jobs: - build: - runs-on: ubuntu-latest - - permissions: - contents: read - packages: write - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Log in to the Container registry - uses: docker/login-action@v3 - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} - - - name: Extract metadata (tags, labels) for Docker - id: meta - uses: docker/metadata-action@v5 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - push: true - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 164e3f3..9823ae1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -746,7 +746,7 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "resfetch" -version = "1.1.0" +version = "1.1.1" dependencies = [ "colored", "libmacchina", diff --git a/Cargo.toml b/Cargo.toml index 6fe9db5..eb3ad0e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "resfetch" -version = "1.1.0" +version = "1.1.1" authors = ["HitBlast ", "furtidev "] edition = "2021" description = "A fast and minimal alternative to neofetch" diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 637e1ce..0000000 --- a/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -# builder stage -FROM rust:1.76 AS builder -WORKDIR /app -COPY . . -RUN cargo build --release - -# executable stage -FROM scratch -USER 1000 -COPY --from=builder ./target/release/resfetch . -CMD ["./resfetch"] \ No newline at end of file diff --git a/README.md b/README.md index 4110e95..b9d9136 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@
-# resfetch +# resfetch ### A fast and minimal alternative to neofetch [![Version](https://img.shields.io/crates/v/resfetch?label=version)](https://crates.io/crates/resfetch) @@ -27,15 +27,6 @@ $ brew tap hitblast/resfetch $ brew install resfetch ``` -### Docker -```bash -# building image -$ docker build -t resfetch . - -# running -$ docker run resfetch -``` - ## Dependencies Used - [libmacchina](https://github.com/Macchina-CLI/libmacchina) - [colored](https://crates.io/crates/colored)