From af509f1d4c65ff1c63642a2380e53dbde76ce02d Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Thu, 7 Mar 2024 14:19:11 +0000 Subject: [PATCH] remove arm --- .github/workflows/build.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fc7c4ae..6dbada2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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: @@ -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: @@ -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' }} @@ -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 \ No newline at end of file