Skip to content

Merge pull request #785 from swaschkut/main #71

Merge pull request #785 from swaschkut/main

Merge pull request #785 from swaschkut/main #71

name: ARM - Docker Image CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
#runs-on: ubuntu-20.04
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Build and push pan-os-php-arm
uses: docker/build-push-action@v2
with:
context: .
file: docker/Dockerfile-main_arm64v8
platforms: linux/arm64
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pan-os-php-arm:${{ secrets.DOCKER_HUB_TAG }}
-
name: Build and push pan-os-php-cli-arm
uses: docker/build-push-action@v2
with:
context: .
file: docker/Dockerfile-php_arm64v8
platforms: linux/arm64
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pan-os-php-cli-arm:${{ secrets.DOCKER_HUB_TAG }}
-
name: Build and push pan-os-php-api-arm
uses: docker/build-push-action@v2
with:
context: .
file: docker/Dockerfile-API_arm64v8
platforms: linux/arm64
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/pan-os-php-api-arm:${{ secrets.DOCKER_HUB_TAG }}