File tree Expand file tree Collapse file tree 7 files changed +9
-14
lines changed
actions/build-docker-image Expand file tree Collapse file tree 7 files changed +9
-14
lines changed Original file line number Diff line number Diff line change @@ -41,10 +41,6 @@ inputs:
41
41
runs :
42
42
using : ' composite'
43
43
steps :
44
- # - name: Setup docker (missing on MacOS)
45
- # if: matrix.platform == 'linux/arm64'
46
- # uses: douglascamata/setup-docker-macos-action@v1-alpha
47
-
48
44
- name : Set up QEMU
49
45
uses : docker/setup-qemu-action@v3
50
46
if : ${{ inputs.skip-init == '' }}
Original file line number Diff line number Diff line change 7
7
detect-changes :
8
8
uses : ./.github/workflows/detect-changes-matrix.yml
9
9
build-infra :
10
- # runs-on: ${{ matrix.platform == 'linux/arm64' && 'macos-13' || 'ubuntu-latest' }}
11
10
runs-on : ' ubuntu-latest'
12
11
needs : detect-changes
13
12
if : ${{ needs.detect-changes.outputs.infra == 'true' }}
24
23
docker-user : ${{ secrets.DOCKER_MACHINE_USER }}
25
24
docker-password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
26
25
27
-
28
26
- name : Build Docker Image
29
27
uses : ./.github/workflows/actions/build-docker-image
30
28
with :
33
31
tags : ghcr.io/port-labs/port-ocean-base-runner:latest
34
32
docker-user : ${{ secrets.DOCKER_MACHINE_USER }}
35
33
docker-password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
36
- skip-init : ' yupp '
34
+ skip-init : ' true '
Original file line number Diff line number Diff line change 1
1
name : Build integration images
2
2
on :
3
3
pull_request :
4
+ workflow_dispatch :
4
5
5
6
jobs :
6
7
prepare-matrix :
36
37
echo $(echo ${integrations_to_build[@]} | jq -R -c 'split(" ")')
37
38
echo "INTEGRATIONS_MATRIX=$(echo ${integrations_to_build[@]} | jq -R -c 'split(" ")')" >> $GITHUB_OUTPUT
38
39
39
-
40
40
build-integration :
41
- runs-on : ' ubuntu-latest'
41
+ runs-on : ubuntu-latest
42
42
if : needs.prepare-matrix.outputs.matrix != '[]'
43
43
outputs :
44
44
is_dev_version : ${{ steps.prepare_tags.outputs.is_dev_version }}
@@ -101,4 +101,4 @@ jobs:
101
101
INTEGRATION_VERSION=${{ steps.prepare_tags.outputs.version }}
102
102
docker-user : ${{ secrets.DOCKER_MACHINE_USER }}
103
103
docker-password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
104
- skip-push : ' yupp '
104
+ skip-push : ' true '
Original file line number Diff line number Diff line change 78
78
- name : Checkout Repo
79
79
uses : actions/checkout@v4
80
80
81
-
82
81
- name : Extract version and image tag
83
82
id : enrich-version
84
83
run : |
96
95
with :
97
96
dockerfile : ./integrations/_infra/Dockerfile
98
97
platforms : linux/amd64
99
- skip-push : ' yupp '
98
+ skip-push : ' true '
100
99
tags : ${{ steps.enrich-version.outputs.image_tag }}
101
- load-created-image : ' yupp '
100
+ load-created-image : ' true '
102
101
docker-user : ${{ secrets.DOCKER_MACHINE_USER }}
103
102
docker-password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
104
103
build-args : |
Original file line number Diff line number Diff line change 52
52
needs : [prepare-matrix]
53
53
strategy :
54
54
# limit the number of parallel jobs to avoid hitting the ghcr.io rate limit
55
- max-parallel : 10
55
+ max-parallel : 5
56
56
matrix :
57
57
integration : ${{fromJson(needs.prepare-matrix.outputs.matrix)}}
58
58
steps :
Original file line number Diff line number Diff line change 1
1
ARG BASE_PYTHON_IMAGE = debian :trixie -slim
2
+ # debian:trixie-slim - Python 3.12
2
3
FROM ${ BASE_PYTHON_IMAGE }
3
4
4
5
LABEL org . opencontainers . image . source = https :/ /github . com /port -labs /ocean
Original file line number Diff line number Diff line change 1
1
ARG BASE_PYTHON_IMAGE=debian:trixie-slim
2
+ # debian:trixie-slim - Python 3.12
2
3
FROM ${BASE_PYTHON_IMAGE}
3
4
4
5
LABEL org.opencontainers.image.source=https://github.com/port-labs/ocean
You can’t perform that action at this time.
0 commit comments