open-dmarc-analyzer-docker/.gitea/workflows/nightly.yaml
Guillaume Lapierre 0e905955b4
All checks were successful
Build Main / BuildLatest (push) Successful in 7m42s
Rebuild Last Released / BuildVersion (push) Successful in 8m1s
build: change docker tags + rebuild latest release
2024-11-08 12:16:09 +01:00

35 lines
884 B
YAML

#
# Build docker image
#
name: Nightly build
run-name: ${{ gitea.actor }} running CI in the pipeline 🚀
on:
schedule:
- cron: "0 2 * * *"
jobs:
BuildNightly:
env:
RUNNER_TOOL_CACHE: /toolcache
runs-on: cth-ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set up docker buildx
uses: docker/setup-buildx-action@v3
with:
driver-opts: |
network=giteanet
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push version
uses: docker/build-push-action@v5
env:
ACTIONS_RUNTIME_TOKEN: ''
with:
push: true
tags: zeguigui/open-report-analyzer:nightly