Merge pull request #23 from Tawmy/main

Add arm64 to build action, fix branch names
This commit is contained in:
Enes Sadık Özbek 2023-06-18 19:19:58 +03:00 committed by GitHub
commit 438370c717
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,22 +3,26 @@ name: Docker Image CI
on:
push:
branches:
- master
- main
tags:
- '*'
pull_request:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
-
-
name: Checkout
uses: actions/checkout@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to GitHub Container Registry
uses: docker/login-action@v1
@ -49,6 +53,7 @@ jobs:
uses: docker/build-push-action@v2
with:
context: src/
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}