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: on:
push: workflow_dispatch:
branches: schedule:
- 'main' - cron: '0 0 * * *'
jobs: jobs:
ci: ci:
@ -38,6 +38,13 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 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 - name: Login to Docker Hub
uses: docker/login-action@v2 uses: docker/login-action@v2
with: with:
@ -57,4 +64,4 @@ jobs:
file: ./Dockerfile file: ./Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: true push: true
tags: corentinth/it-tools:latest tags: corentinth/it-tools:nightly