Drop ARM support for fpm-alpine-nginx-composer image

This commit is contained in:
Mohammed Al-Mahdawi 2021-05-20 11:01:56 +03:00
parent 1a427b1e1e
commit 22097ad302
1 changed files with 12 additions and 0 deletions

View File

@ -65,8 +65,10 @@ jobs:
fi fi
fi fi
- name: Set up QEMU - name: Set up QEMU
if: matrix.image == '' || matrix.image == 'fpm' || matrix.image == 'fpm-alpine' || matrix.image == 'fpm-alpine-nginx'
uses: docker/setup-qemu-action@v1 uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx - name: Set up Docker Buildx
if: matrix.image == '' || matrix.image == 'fpm' || matrix.image == 'fpm-alpine' || matrix.image == 'fpm-alpine-nginx'
uses: docker/setup-buildx-action@v1 uses: docker/setup-buildx-action@v1
- name: Login to DockerHub - name: Login to DockerHub
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
@ -75,6 +77,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push images - name: Build and push images
if: matrix.image == '' || matrix.image == 'fpm' || matrix.image == 'fpm-alpine' || matrix.image == 'fpm-alpine-nginx'
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
context: . context: .
@ -82,3 +85,12 @@ jobs:
platforms: linux/amd64,linux/arm/v6,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm/v6,linux/arm64,linux/arm/v7
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.image-tags.outputs.tags }} tags: ${{ steps.image-tags.outputs.tags }}
- name: Build and push images
if: matrix.image == 'fpm-alpine-nginx-composer'
uses: docker/build-push-action@v2
with:
context: .
file: ./${{ matrix.file }}
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.image-tags.outputs.tags }}