File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 19
19
permissions :
20
20
contents : read
21
21
packages : write
22
- env :
23
- work_dir : buildimage
24
22
strategy :
25
23
matrix :
26
24
include :
33
31
uses : actions/checkout@v2
34
32
with :
35
33
submodules : true
36
- path : ${{ work_dir }}
34
+ path : buildimage
37
35
- name : Free disk space
38
36
run : |
39
37
mkdir -p /tmp/emptydir
57
55
if [[ "${{ github.event_name }}" == "release" ]]; then
58
56
TAGS=$(sed "s/main/${GITHUB_REF##*/}/g" <<< ${TAGS})
59
57
fi
60
- DOCKERFILE=${{ work_dir }} /dockerfile/${{ matrix.name }}.dockerfile
58
+ DOCKERFILE=buildimage /dockerfile/${{ matrix.name }}.dockerfile
61
59
62
60
CACHE_FROM="type=registry,ref=$(cut -d, -f1 <<< ${TAGS})"
63
61
CACHE_TO=""
90
88
uses : docker/build-push-action@v2
91
89
with :
92
90
platforms : linux/amd64
93
- context : ./${{ work_dir }}
91
+ context : ./buildimage
94
92
file : ${{ steps.metadata.outputs.dockerfile }}
95
93
push : ${{ github.event_name != 'pull_request' }}
96
94
tags : ${{ steps.metadata.outputs.tags }}
You can’t perform that action at this time.
0 commit comments