Files
open-dmarc-analyzer-docker/.gitea/workflows/build.yaml
T
Guillaume Lapierre a25fb5b993
Build / build (push) Failing after 32s
Démo / build (push) Successful in 8s
fix build-and-push ?
2024-03-26 11:47:18 +01:00

30 lines
795 B
YAML

#
# Build docker image
#
name: Build
run-name: ${{ gitea.actor }} running CI in the pipeline 🚀
on: [ push ]
jobs:
build:
runs-on: cth-ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up docker buildx
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
env:
ACTIONS_RUNTIME_TOKEN: ''
with:
network: bridge
push: false
tags: zeguigui/open-report-analyzer:latest