fix ci
This commit is contained in:
parent
b728f19570
commit
bd053cfb73
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user