-
-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (34 loc) · 1.07 KB
/
container.yaml
File metadata and controls
38 lines (34 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Container
on:
push:
branches:
- main
pull_request:
permissions:
contents: read # for actions/checkout to fetch code
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test-container:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Test container build
uses: flowexec/action@v1
with:
executable: 'build container'
timeout: '20m'
continue-on-error: true
flow-version: 'main'
id: container
- name: Check container build
run: |
echo "Container build completed with exit code: ${{ steps.container.outputs.exit-code }}"
if [ "${{ steps.container.outputs.exit-code }}" = "0" ]; then
echo "✅ Container build successful"
else
echo "⚠️ Container build failed (expected in CI without Docker setup)"
fi