Skip to content

Commit

Permalink
chore: update workflows and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sharevb committed Nov 17, 2024
1 parent 78b7614 commit bc50a87
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- chore/all-my-stuffs

jobs:
ci:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ dev ]
branches: [ chore/all-my-stuffs ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ dev ]
branches: [ chore/all-my-stuffs ]

jobs:
analyze:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/sharevb-docker-realease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@ jobs:
with:
context: .
push: true
tags: ghcr.io/${{ github.repository_owner }}/it-tools:latest
# Optionally add version tags or specific branch tags like:
# tags: |
# ghcr.io/${{ github.repository_owner }}/your-repo-name:latest
# ghcr.io/${{ github.repository_owner }}/your-repo-name:${{ github.sha }}
tags: ghcr.io/${{ github.repository_owner }}/it-tools:dev

# Optionally log out
- name: Log out from GitHub Container Registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
pull_request:
push:
branches:
- main
- chore/all-my-stuffs
jobs:
test:
timeout-minutes: 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,6 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -42,10 +36,8 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
corentinth/it-tools:latest
corentinth/it-tools:${{ env.RELEASE_VERSION }}
ghcr.io/corentinth/it-tools:latest
ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}
ghcr.io/sharevb/it-tools:latest
ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}
github-release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -92,12 +84,9 @@ jobs:
body: |
## Docker images
- Docker Hub
- `corentinth/it-tools:latest`
- `corentinth/it-tools:${{ env.RELEASE_VERSION }}`
- GitHub Container Registry
- `ghcr.io/corentinth/it-tools:latest`
- `ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}`
- `ghcr.io/sharevb/it-tools:latest`
- `ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}`
## Changelog
Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
### Check out these change here: <https://sharevb-it-tools.vercel.app/>

You can use my image in your docker-compose file if you want an update to date version of it-tools (with my PR and some of others) until the main branch has been updated.

- github action triggers on every push to this branch - [view package here](https://github.com/sharevb/it-tools/pkgs/container/it-tools)

(Thanks to [gitmotion](https://github.com/gitmotion/it-tools) for this model of README fork)

## Added features

Almost [all PR of it-tools](https://github.com/CorentinTh/it-tools/pulls)

## Installation methods

| Docker Image | Local Installation |
|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
| <span title="triple click me!">`ghcr.io/sharevb/it-tools:latest`</span> | <span title="triple click me!">`git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i && pnpm dev`</span> |
| replace your current image with this image | copy & paste oneliner (from github repo) |
| You may need to clear cache and hard reload to get new features loading | Installing packages for the first time may take some time; please wait until it finishes |

<picture>
<source srcset="./.github/logo-dark.png" media="(prefers-color-scheme: light)">
<source srcset="./.github/logo-white.png" media="(prefers-color-scheme: dark)">
<img src="./.github/logo-dark.png" alt="logo">
</picture>

<details>

Useful tools for developer and people working in IT. [Have a look !](https://it-tools.tech).

## Sponsors
Expand Down Expand Up @@ -133,3 +155,5 @@ Contributor graph is generated using [contrib.rocks](https://contrib.rocks/previ
## License

This project is under the [GNU GPLv3](LICENSE).

</details>

0 comments on commit bc50a87

Please sign in to comment.