Skip to content

Commit

Permalink
remove arm
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Mar 7, 2024
1 parent 56d735f commit af509f1
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
epics-target: [RTEMS-beatnik, linux-x86_64, linux-arm]
epics-target: [RTEMS-beatnik, linux-x86_64 ] #, linux-arm
target: [developer, runtime]
include:
- epics-target: RTEMS-beatnik
Expand All @@ -31,12 +31,12 @@ jobs:
os: ubuntu-latest
platform: linux/amd64

- epics-target: linux-arm
epics-host: linux-arm
image_name: linux
base_image: ubuntu:22.04
os: ubuntu-latest
platform: linux/arm64
# - epics-target: linux-arm
# epics-host: linux-arm
# image_name: linux
# base_image: ubuntu:22.04
# os: ubuntu-latest
# platform: linux/arm64

runs-on: ${{ matrix.os }}
env:
Expand All @@ -61,6 +61,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3


- name: Build image
uses: docker/build-push-action@v5
with:
Expand All @@ -71,9 +72,10 @@ jobs:
TARGET_ARCHITECTURE=${{ matrix.epics-target }}
EPICS_HOST_ARCH=${{ matrix.epics-host }}
BASE_IMAGE=${{ matrix.base_image }}
tags: ${{ env.TAG }}
cache-from: type=gha,scope=${{ matrix.epics-target }}
cache-to: type=gha,mode=max,scope=${{ matrix.epics-target }}
outputs: type=image,name=${{ env.TAG }},push-by-digest=true,name-canonical=true,load=true
load: true

- name: Push image
if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }}
Expand All @@ -86,4 +88,5 @@ jobs:
TARGET_ARCHITECTURE=${{ matrix.epics-target }}
EPICS_HOST_ARCH=${{ matrix.epics-host }}
BASE_IMAGE=${{ matrix.base_image }}
outputs: type=image,name=${{ env.TAG }},push-by-digest=true,name-canonical=true,push=true
tags: ${{ env.TAG }}
push: true

0 comments on commit af509f1

Please sign in to comment.