File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
actions/build-docker-image Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,12 @@ inputs:
23
23
description : Skip docker init (if ran after another invocation of this action)
24
24
required : false
25
25
default : ' '
26
+ docker-user :
27
+ required : true
28
+ description : Docker Hub User
29
+ docker-password :
30
+ required : true
31
+ description : Docker Hub User
26
32
27
33
runs :
28
34
using : ' composite'
44
50
if : ${{ inputs.skip-init == '' }}
45
51
with :
46
52
registry : ghcr.io
47
- username : ${{ secrets.DOCKER_MACHINE_USER }}
48
- password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
53
+ username : ${{ inputs.docker-user }}
54
+ password : ${{ inputs.docker-password }}
49
55
50
56
- name : Build Runner Image
51
57
uses : docker/build-push-action@v6
Original file line number Diff line number Diff line change 4
4
workflows : ["Build infra images"]
5
5
types :
6
6
- completed
7
+ pull_request :
8
+ workflow_dispatch :
7
9
8
10
jobs :
9
11
prepare-matrix :
@@ -102,3 +104,5 @@ jobs:
102
104
build-args : |
103
105
BUILD_CONTEXT=${{ steps.prepare_tags.outputs.context_dir }}
104
106
INTEGRATION_VERSION=${{ steps.prepare_tags.outputs.version }}
107
+ docker-user : ${{ secrets.DOCKER_MACHINE_USER }}
108
+ docker-password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
Original file line number Diff line number Diff line change @@ -21,11 +21,16 @@ jobs:
21
21
dockerfile : ./integrations/_infra/Dockerfile.base.builder
22
22
platforms : linux/amd64,linux/arm64
23
23
tags : ghcr.io/port-labs/port-ocean-base-builder:latest
24
+ docker-user : ${{ secrets.DOCKER_MACHINE_USER }}
25
+ docker-password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
26
+
24
27
25
28
- name : Build Docker Image
26
29
uses : ./.github/workflows/actions/build-docker-image
27
30
with :
28
31
dockerfile : ./integrations/_infra/Dockerfile.base.runner
29
32
platforms : linux/amd64,linux/arm64
30
33
tags : ghcr.io/port-labs/port-ocean-base-runner:latest
34
+ docker-user : ${{ secrets.DOCKER_MACHINE_USER }}
35
+ docker-password : ${{ secrets.DOCKER_MACHINE_TOKEN }}
31
36
skip-init : ' yupp'
You can’t perform that action at this time.
0 commit comments