80
80
id : meta
81
81
uses : docker/metadata-action@v5
82
82
with :
83
- images : ghcr.io/${{ github.repository }}/${{ matrix.image_name }}
83
+ images : ghcr.io/${{ github.repository }}/${{ matrix.container. image_name }}
84
84
tags : |
85
85
type=ref,event=branch
86
86
type=raw,value=latest-master
@@ -96,22 +96,22 @@ jobs:
96
96
with :
97
97
platforms : linux/amd64,linux/arm64
98
98
context : .
99
- file : ${{ matrix.dockerfile }}
99
+ file : ${{ matrix.container. dockerfile }}
100
100
push : true
101
101
tags : ${{ steps.meta.outputs.tags }}
102
102
labels : ${{ steps.meta.outputs.labels }}
103
103
build-args : |
104
104
argBasedVersion=${{ steps.extract-version.outputs.docker_version }}
105
105
secrets : |
106
106
mysecret=/tmp/mysecret.txt
107
- cache-from : type=gha,scope=${{ matrix.name }}
108
- cache-to : type=gha,mode=max,scope=${{ matrix.name }}
107
+ cache-from : type=gha,scope=${{ matrix.container. name }}
108
+ cache-to : type=gha,mode=max,scope=${{ matrix.container. name }}
109
109
110
110
- name : Verify Docker image was built
111
111
run : |
112
112
echo "Verifying Docker image was built successfully..."
113
- echo "Container: ${{ matrix.name }}"
114
- echo "Dockerfile: ${{ matrix.dockerfile }}"
113
+ echo "Container: ${{ matrix.container. name }}"
114
+ echo "Dockerfile: ${{ matrix.container. dockerfile }}"
115
115
echo "Image tags: ${{ steps.meta.outputs.tags }}"
116
116
echo "Image digest: ${{ steps.build.outputs.digest }}"
117
117
0 commit comments