|
19 | 19 | - name: Checkout repository |
20 | 20 | uses: actions/checkout@v4 |
21 | 21 |
|
22 | | - - name: Set up QEMU |
23 | | - uses: docker/setup-qemu-action@v3 |
24 | | - with: |
25 | | - platforms: linux/arm/v7 |
26 | | - |
27 | 22 | - name: Log in to the Container registry |
28 | 23 | uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 |
29 | 24 | with: |
|
48 | 43 | push: true |
49 | 44 | tags: ${{ steps.metaDirector.outputs.tags }} |
50 | 45 | labels: ${{ steps.metaDirector.outputs.labels }} |
51 | | - platforms: linux/arm/v7 |
52 | | - |
53 | | - # Process for the `storage` subfolder |
54 | | - - name: Extract metadata (tags, labels) for Docker (storage) |
55 | | - id: metaStorage |
56 | | - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 |
57 | | - with: |
58 | | - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/bareos-storage |
59 | | - tags: | |
60 | | - # set latest tag for default branch |
61 | | - type=raw,value=latest,enable={{is_default_branch}} |
62 | | -
|
63 | | - - name: Build and push Docker image (storage) |
64 | | - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 |
65 | | - with: |
66 | | - context: ./storage |
67 | | - push: true |
68 | | - tags: ${{ steps.metaStorage.outputs.tags }} |
69 | | - labels: ${{ steps.metaStorage.outputs.labels }} |
70 | | - platforms: linux/arm/v7 |
| 46 | + platforms: linux/amd64 |
71 | 47 |
|
72 | | - # Process for the `webui` subfolder |
73 | | - - name: Extract metadata (tags, labels) for Docker (webui) |
74 | | - id: metaWebui |
75 | | - uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7 |
76 | | - with: |
77 | | - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/bareos-webui |
78 | | - tags: | |
79 | | - # set latest tag for default branch |
80 | | - type=raw,value=latest,enable={{is_default_branch}} |
81 | 48 |
|
82 | | - - name: Build and push Docker image (webui) |
83 | | - uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4 |
84 | | - with: |
85 | | - context: ./webui |
86 | | - push: true |
87 | | - tags: ${{ steps.metaWebui.outputs.tags }} |
88 | | - labels: ${{ steps.metaWebui.outputs.labels }} |
89 | | - platforms: linux/arm/v7 |
0 commit comments