File tree 5 files changed +1
-40
lines changed
5 files changed +1
-40
lines changed Original file line number Diff line number Diff line change 58
58
with :
59
59
product-name : smoke
60
60
product-version : ${{ matrix.versions }}
61
- build-cache-password : ${{ secrets.BUILD_CACHE_NEXUS_PASSWORD }}
62
61
bake-config-file : smoke/conf.py
63
62
extra-tag-data : pr-321
64
63
Original file line number Diff line number Diff line change @@ -21,11 +21,6 @@ All subsequent tasks must use this value to ensure consistency.
21
21
- ` image-index-manifest-tag ` (eg: ` 3.4.1-stackable0.0.0-dev ` )
22
22
- ` container-file ` (defaults to ` Dockerfile ` )
23
23
- ` build-context ` (defaults to ` . ` )
24
- <!--
25
- TODO (@NickLarsenNZ): Allow optional buildx cache
26
- - `build-cache-username`
27
- - `build-cache-password`
28
- -->
29
24
30
25
### Outputs
31
26
Original file line number Diff line number Diff line change @@ -17,13 +17,6 @@ inputs:
17
17
build-context :
18
18
description : Path to the build-context
19
19
default : .
20
- # TODO (@NickLarsenNZ): Allow optional buildx cache
21
- # build-cache-username:
22
- # description: Build cache username
23
- # default: github
24
- # build-cache-password:
25
- # description: Build cache password
26
- # required: true
27
20
outputs :
28
21
image-repository-uri :
29
22
description : |
45
38
- name : Setup Docker Buildx
46
39
uses : docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
47
40
48
- # TODO (@NickLarsenNZ): Allow optional buildx cache
49
- # # Needed if you pass the --cache argument to the bake command below
50
- # - name: Login to the docker build cache registry
51
- # uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
52
- # with:
53
- # registry: build-repo.stackable.tech:8083
54
- # username: ${{ inputs.build-cache-username }}
55
- # password: ${{ inputs.build-cache-password }}
56
-
57
41
- name : Build ${{ inputs.image-name }}:${{ inputs.image-index-manifest-tag }}
58
42
id : build-image
59
43
env :
Original file line number Diff line number Diff line change @@ -44,8 +44,6 @@ localhost/kafka:3.4.1-stackable0.0.0-dev-amd64
44
44
- ` product-name ` (eg: ` kafka ` )
45
45
- ` product-version ` (eg: ` 3.4.1 ` )
46
46
- ` image-tools-version ` (eg: ` 0.0.13 ` )
47
- - ` build-cache-username ` (required) <!-- TODO: make the cache optional -->
48
- - ` build-cache-password ` (required) <!-- TODO: make the cache optional -->
49
47
- ` bake-config-file ` (defaults to ` ./conf.py ` )
50
48
- ` sdp-version ` (defaults to: ` 0.0.0-dev ` )
51
49
- ` extra-tag-data ` (optional, eg. ` pr321 ` )
Original file line number Diff line number Diff line change @@ -11,12 +11,6 @@ inputs:
11
11
image-tools-version :
12
12
description : The Stackable image-tools version
13
13
default : 0.0.13
14
- build-cache-username :
15
- description : Build cache username
16
- default : github
17
- build-cache-password :
18
- description : Build cache password
19
- required : true
20
14
bake-config-file :
21
15
description : Path to the bake config file, defaults to `./conf.py`
22
16
default : ./conf.py
56
50
shell : bash
57
51
run : pip install image-tools-stackabletech==${{ inputs.image-tools-version }}
58
52
59
- # Needed if you pass the --cache argument to the bake command below
60
- - name : Login to the docker build cache registry
61
- uses : docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
62
- with :
63
- registry : build-repo.stackable.tech:8083
64
- username : ${{ inputs.build-cache-username }}
65
- password : ${{ inputs.build-cache-password }}
66
-
67
53
- name : Building ${{ inputs.product-name }} Container Image using bake
68
54
env :
69
55
BAKE_PRODUCT_VERSION : ${{ inputs.product-version }}
95
81
--image-version "$IMAGE_INDEX_MANIFEST_TAG" \
96
82
--architecture "linux/${IMAGE_ARCH}" \
97
83
--export-tags-file bake-target-tags \
98
- --configuration "$BAKE_CONFIG_FILE" \
99
- --cache
84
+ --configuration "$BAKE_CONFIG_FILE"
100
85
echo "::endgroup::"
101
86
102
87
- name : Re-tag Image (Temporary)
You can’t perform that action at this time.
0 commit comments