mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-26 07:33:21 +03:00
chore: update workflows and readme
This commit is contained in:
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:
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user