From bd66f599ff691c7a7c3856487e5e927620e411a8 Mon Sep 17 00:00:00 2001 From: Guillaume Lapierre Date: Tue, 26 Mar 2024 06:05:03 +0100 Subject: [PATCH] Build action --- .gitea/workflows/build.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 8546adf..24cabef 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -2,7 +2,7 @@ # Build docker image # -name: Démo +name: Build run-name: ${{ gitea.actor }} running CI in the pipeline 🚀 on: [ push ] @@ -14,4 +14,14 @@ jobs: - name: Check out repository code uses: actions/checkout@v3 - name: Set up docker buildx - uses: docker/setup-buildx-action@v3 \ No newline at end of file + 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 \ No newline at end of file