Skip to content

Commit

Permalink
docker hub tags based on platform archs
Browse files Browse the repository at this point in the history
  • Loading branch information
nagstler committed Apr 28, 2024
1 parent fbd2303 commit e7095d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ui-docker-build-amd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: frontend-docker-build (AMD)

on:
workflow_run:
workflows: ["frontend-ci"]
workflows: ["frontend-ci-amd"]
branches: [main]
types:
- completed
Expand Down Expand Up @@ -38,6 +38,6 @@ jobs:
file: ./ui/Dockerfile
push: true
tags: |
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
${{ env.IMAGE_NAME }}:${{ github.sha }}
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}-amd
${{ env.IMAGE_NAME }}:${{ github.sha }}-amd
platforms: linux/amd64
6 changes: 3 additions & 3 deletions .github/workflows/ui-docker-build-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: frontend-docker-build (ARM64)

on:
workflow_run:
workflows: ["frontend-ci"]
workflows: ["frontend-ci-arm"]
branches: [main]
types:
- completed
Expand Down Expand Up @@ -38,6 +38,6 @@ jobs:
file: ./ui/Dockerfile
push: true
tags: |
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
${{ env.IMAGE_NAME }}:${{ github.sha }}
${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}-arm
${{ env.IMAGE_NAME }}:${{ github.sha }}-arm
platforms: linux/arm64

0 comments on commit e7095d2

Please sign in to comment.