Added docker image building

This commit is contained in:
Frédérick Pruneau 2026-02-05 15:25:15 -05:00
parent 003be92aba
commit 0e5982ec62
Signed by: fred
SSH Key Fingerprint: SHA256:NE8ZTR2qtoXf35Rq2m2y6PQA0sIUFPVTEIsGwG9FsXk

View File

@ -95,13 +95,17 @@ jobs:
webhookUrl: '${{ secrets.GOOGLE_CHAT_WEBHOOK }}'
jobStatus: ${{ job.status }}
title: Build failed
- name: deploy
if: ${{ success() }}
run: docker build -t targo_frontend .
deploy:
needs: [lint, test, build]
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/main'
permissions:
contents: read
id-token: write
steps:
- run: docker build -t targo_frontend .
#deploy:
# needs: [lint, test, build]
# runs-on: ubuntu-24.04
# if: github.ref == 'refs/heads/main'
# permissions:
# contents: read
# id-token: write
# steps:
# - run: docker build -t targo_frontend .