Skip to content

Commit 560e584

Browse files
committed
Disable arm64 docker builds
Signed-off-by: Alan Sherman <asherman@linuxfoundation.org>
1 parent 4d549ab commit 560e584

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

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

Lines changed: 18 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,22 @@ jobs:
4546
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4647
tags: |
4748
type=raw,value=development
49+
type=sha,prefix={{branch}}-
50+
type=ref,event=branch
51+
type=ref,event=pr
52+
labels: |
53+
org.opencontainers.image.title=LFX PCC UI
54+
org.opencontainers.image.description=Linux Foundation LFX Project Control Center UI application
55+
org.opencontainers.image.vendor=The Linux Foundation
56+
org.opencontainers.image.licenses=MIT
57+
org.opencontainers.image.documentation=https://github.com/${{ github.repository }}/blob/main/README.md
58+
org.opencontainers.image.source=https://github.com/${{ github.repository }}
59+
com.github.actions.run_id=${{ github.run_id }}
60+
com.github.actions.run_number=${{ github.run_number }}
61+
com.github.actions.workflow=${{ github.workflow }}
62+
com.github.actions.actor=${{ github.actor }}
63+
com.linuxfoundation.project=lfx-pcc
64+
com.linuxfoundation.environment=development
4865
4966
- name: Build and push Docker image
5067
uses: docker/build-push-action@v5
@@ -53,7 +70,7 @@ jobs:
5370
push: true
5471
tags: ${{ steps.meta.outputs.tags }}
5572
labels: ${{ steps.meta.outputs.labels }}
56-
platforms: linux/amd64,linux/arm64
73+
platforms: linux/amd64
5774
cache-from: type=gha
5875
cache-to: type=gha,mode=max
5976
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 "1234" > /tmp/hello.txt
15+
1316
WORKDIR /app
1417

1518
# Copy source code

0 commit comments

Comments
 (0)