Skip to content

Commit cd6cdb7

Browse files
authored
projects build on every pr (#2449)
1 parent f290605 commit cd6cdb7

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: projects-refresh-image-build
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- background/projects-refresh-service/**
7+
- Dockerfile_bg_projects_refresh
8+
workflow_dispatch: {}
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
timeout-minutes: 30
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set up QEMU
22+
uses: docker/setup-qemu-action@v3
23+
24+
- name: Set up Docker Buildx
25+
uses: docker/setup-buildx-action@v3
26+
27+
- name: Build projects-refresh image (no push)
28+
uses: depot/build-push-action@v5
29+
with:
30+
context: .
31+
file: Dockerfile_bg_projects_refresh
32+
platforms: linux/amd64
33+
push: false
34+
tags: ghcr.io/diggerhq/digger/projects-refresh-service:ci-test
35+
build-args: |
36+
COMMIT_SHA=${{ github.sha }}
37+

0 commit comments

Comments
 (0)