chore: update workflows and readme

This commit is contained in:
ShareVB committed 2024-11-17 21:25:22 +01:00
1 parent 78b7614d25
commit bc50a87187
6 files changed
+33 -24

No files matched your search

@@ -4,7 +4,7 @@ on:
pull_request:
push:
branches:
- main
- chore/all-my-stuffs
jobs:
ci:
@@ -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:
@@ -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
@@ -3,7 +3,7 @@ on:
pull_request:
push:
branches:
- main
- chore/all-my-stuffs
jobs:
test:
timeout-minutes: 10
@@ -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
@@ -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
@@ -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