Skip to content

Commit

Permalink
create separate job
Browse files Browse the repository at this point in the history
  • Loading branch information
gregkonush committed Nov 15, 2024
1 parent eb56179 commit b1b737c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/docker-build-common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ on:
required: true
REGISTRY_TOKEN:
required: true
pull_request:

jobs:
build:
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/pull-request-docker-build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Pull Request Docker Build

on:
pull_request:
types: [opened, synchronize]

jobs:
build-ecran:
runs-on: arc-arm64
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build ecran
uses: ./.github/workflows/docker-build-common.yaml
with:
image_name: ecran
dockerfile: ./services/ecran/Dockerfile
context: ./services/ecran
new_tag: ${{ github.sha }}

0 comments on commit b1b737c

Please sign in to comment.