feat: override workflows to publish in fork

This commit is contained in:
David Hayes 2024-08-08 03:00:02 +00:00
parent ae99f42540
commit f8383ea6fd
5 changed files with 6519 additions and 5142 deletions

View file

@ -2,8 +2,8 @@ name: Docker nightly release
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
# schedule:
# - cron: '0 0 * * *'
jobs:
check_date:

View file

@ -22,11 +22,11 @@ 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: 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,8 +42,8 @@ jobs:
platforms: linux/amd64,linux/arm64
push: true
tags: |
corentinth/it-tools:latest
corentinth/it-tools:${{ env.RELEASE_VERSION }}
# corentinth/it-tools:latest
# corentinth/it-tools:${{ env.RELEASE_VERSION }}
ghcr.io/corentinth/it-tools:latest
ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}
@ -93,11 +93,11 @@ jobs:
## Docker images
- Docker Hub
- `corentinth/it-tools:latest`
- `corentinth/it-tools:${{ env.RELEASE_VERSION }}`
- `altitudems/it-tools:latest`
- `altitudems/it-tools:${{ env.RELEASE_VERSION }}`
- GitHub Container Registry
- `ghcr.io/corentinth/it-tools:latest`
- `ghcr.io/corentinth/it-tools:${{ env.RELEASE_VERSION}}`
- `ghcr.io/altitudems/it-tools:latest`
- `ghcr.io/altitudems/it-tools:${{ env.RELEASE_VERSION}}`
## Changelog