update docker workflows

This commit is contained in:
JandereDev 2022-07-12 18:09:42 +02:00
parent 74a27ee00e
commit 3a14c8b164
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -42,7 +42,8 @@ jobs:
name: Build and push - API name: Build and push - API
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
context: ./api context: .
dockerfile: ./api/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
@ -81,7 +82,8 @@ jobs:
name: Build and push - Web name: Build and push - Web
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
context: ./web context: .
dockerfile: ./web/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
@ -120,7 +122,8 @@ jobs:
name: Build and push - Bridge name: Build and push - Bridge
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
context: ./bridge context: .
dockerfile: ./bridge/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
@ -159,7 +162,8 @@ jobs:
name: Build and push - Bot name: Build and push - Bot
uses: docker/build-push-action@v3 uses: docker/build-push-action@v3
with: with:
context: ./bot context: .
dockerfile: ./bot/Dockerfile
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}