Skip to content

Commit

Permalink
Use flavor for suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-z authored Mar 7, 2024
1 parent 4b45a3a commit f6b3490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ jobs:
uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e
with:
images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
prefix=frontend
flavor: |
suffix=-frontend
- name: Extract metadata (tags, labels) for Docker (backend)
id: meta-backend
uses: docker/metadata-action@c4ee3adeed93b1fa6a762f209fb01608c1a22f1e
with:
images: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
prefix=backend
flavor: |
suffix=-backend
- name: Build and push Docker image (frontend)
uses: docker/build-push-action@91df6b874e498451163feb47610c87c4a218c1ee
Expand Down

0 comments on commit f6b3490

Please sign in to comment.