chore(cd): docker nightly releases

This commit is contained in:
Corentin Thomasset 2023-04-06 21:03:31 +02:00 committed by Corentin THOMASSET
parent 001031b7b5
commit f5c865b278

View file

@ -1,9 +1,9 @@
name: docker-release
name: Docker nightly release
on:
push:
branches:
- 'main'
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
ci:
@ -38,6 +38,13 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
@ -57,4 +64,4 @@ jobs:
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: corentinth/it-tools:latest
tags: corentinth/it-tools:nightly