Skip to content

Commit 9737e2f

Browse files
committed
Disable arm64 docker builds
Signed-off-by: Alan Sherman <[email protected]>
1 parent 4d549ab commit 9737e2f

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

.github/workflows/docker-build-main.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
push:
88
branches:
99
- main
10+
- asherman/docker-test
1011
workflow_dispatch:
1112

1213
permissions:
@@ -45,6 +46,16 @@ jobs:
4546
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4647
tags: |
4748
type=raw,value=development
49+
labels: |
50+
org.opencontainers.image.title=LFX PCC UI
51+
org.opencontainers.image.description=Linux Foundation LFX Project Control Center UI application
52+
org.opencontainers.image.vendor=The Linux Foundation
53+
org.opencontainers.image.licenses=MIT
54+
org.opencontainers.image.documentation=https://github.com/${{ github.repository }}/blob/main/README.md
55+
org.opencontainers.image.source=https://github.com/${{ github.repository }}
56+
com.github.actions.run_id=${{ github.run_id }}
57+
com.github.actions.run_number=${{ github.run_number }}
58+
com.github.actions.workflow=${{ github.workflow }}
4859
4960
- name: Build and push Docker image
5061
uses: docker/build-push-action@v5
@@ -53,7 +64,7 @@ jobs:
5364
push: true
5465
tags: ${{ steps.meta.outputs.tags }}
5566
labels: ${{ steps.meta.outputs.labels }}
56-
platforms: linux/amd64,linux/arm64
67+
platforms: linux/amd64
5768
cache-from: type=gha
5869
cache-to: type=gha,mode=max
5970
build-args: |

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ ARG BUILD_ENV=production
1010
# Enable Corepack for Yarn
1111
RUN corepack enable
1212

13+
# small change to get new build
14+
RUN echo "12345" > /tmp/hello.txt
15+
1316
WORKDIR /app
1417

1518
# Copy source code

0 commit comments

Comments
 (0)