Skip to content

Commit

Permalink
Fix production CD
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed May 20, 2024
1 parent 32cf150 commit 1d25509
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/prod-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,18 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Docker metadata
id: backend-meta
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
${{ GITHUB.REPOSITORY }}
ghcr.io/${{ GITHUB.REPOSITORY }}
tags: |
type=raw,value=backend
type=ref,event=branch,pattern=dev
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
flavor: |
latest=false
- uses: docker/setup-qemu-action@v1

Expand All @@ -46,8 +44,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: .
file: Docker/Backend.docker
platforms: linux/amd64,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x
push: true
tags: ${{ steps.backend-meta.outputs.tags }}
labels: ${{ steps.backend-meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 1d25509

Please sign in to comment.