diff --git a/.github/workflows/prod-docker.yml b/.github/workflows/prod-docker.yml index 8aa0483..8044cb6 100644 --- a/.github/workflows/prod-docker.yml +++ b/.github/workflows/prod-docker.yml @@ -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 @@ -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 }}