fix ci
Some checks failed
Build and publish farmacia-bot images / Build and push client's image to Gitea's registry (push) Successful in 16s
Build and publish farmacia-bot images / deploy_ovh (push) Failing after 4s

This commit is contained in:
Giancarmine Salucci 2025-04-15 13:17:47 +02:00
parent b728f19570
commit bd053cfb73

View File

@ -26,43 +26,24 @@ jobs:
username: mozempk
password: ${{ secrets.REGISTRY_GITEA_TOKEN }}
- name: Extract client metadata (tags, labels) for Docker
id: meta_client
- name: Extract app metadata (tags, labels) for Docker
id: meta_app
uses: docker/metadata-action@v5.5.1
with:
# this forces latest. Else it's created only if a release (tag) is created
tags: |
type=raw,enable=true,priority=200,prefix=,suffix=,value=latest
images: ${{ vars.hostname_gitea }}/${{gitea.repository}}/client
images: ${{ vars.hostname_gitea }}/${{gitea.repository}}
- name: Build and push client Docker image
id: push_client
- name: Build and push app Docker image
id: push_app
uses: docker/build-push-action@v5.3.0
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta_client.outputs.tags }}
labels: ${{ steps.meta_client.outputs.labels }}
- name: Extract server metadata (tags, labels) for Docker
id: meta_server
uses: docker/metadata-action@v5.5.1
with:
# this forces latest. Else it's created only if a release (tag) is created
tags: |
type=raw,enable=true,priority=200,prefix=,suffix=,value=latest
images: ${{ vars.hostname_gitea }}/${{gitea.repository}}/server
- name: Build and push server Docker image
id: push_server
uses: docker/build-push-action@v5.3.0
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta_server.outputs.tags }}
labels: ${{ steps.meta_server.outputs.labels }}
tags: ${{ steps.meta_app.outputs.tags }}
labels: ${{ steps.meta_app.outputs.labels }}
deploy_ovh:
runs-on: ubuntu-latest
needs: build_images