open-dmarc-analyzer-docker/.gitea/workflows/build.yaml

27 lines
714 B
YAML
Raw Normal View History

2024-03-26 05:52:23 +01:00
#
# Build docker image
#
2024-03-26 06:05:03 +01:00
name: Build
2024-03-26 05:52:23 +01:00
run-name: ${{ gitea.actor }} running CI in the pipeline 🚀
on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up docker buildx
2024-03-26 06:05:03 +01:00
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and do not push
uses: docker/build-push-action@v5
with:
push: false
tags: zeguigui/open-report-analyzer:latest