docker build
Some checks failed
Build an image to deploy website / build (push) Failing after 1m31s

This commit is contained in:
Julien Fastré 2024-01-24 11:10:34 +01:00
parent f83a48595f
commit 4d20ff60e2
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -50,3 +50,19 @@ jobs:
- name: Compile website - name: Compile website
run: npm run build run: npm run build
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
- name: Login to registry
uses: https://github.com/docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
registry: 'h3m6q87t.gra7.container-registry.ovh.net'
- name: Build and push
uses: https://github.com/docker/build-push-action@v5
with:
push: true
tags: chill_website/web:1.0.0