All checks were successful
Build and Push Docker Image / build (push) Successful in 1m40s
Reviewed-on: #2 Co-authored-by: Mirko Milovanovic <mir_ko@me.com> Co-committed-by: Mirko Milovanovic <mir_ko@me.com>
28 lines
650 B
YAML
28 lines
650 B
YAML
name: Build Docker Image for Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository actions
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup Docker Environment
|
|
uses: ./.github/actions/setup-docker-environment
|
|
|
|
- name: Build Docker image
|
|
uses: docker/build-push-action@v6.13.0
|
|
with:
|
|
context: .
|
|
push: false
|
|
tags: ${{ github.repository_owner }}/${{ github.event.repository.name }}:${{ github.event.pull_request.number }}
|
|
platforms: |
|
|
linux/amd64
|
|
linux/arm64
|