File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 50
50
run : |
51
51
cp -r tools /tmp
52
52
docker run -v /tmp/tools:/tools \
53
- rhub/r-minimal:test bash -c "/tools/calculate_tags.sh ${{ inputs.rversion }}"
54
- cp "$GITHUB_OUTPUT" tags.txt
53
+ rhub/r-minimal:test \
54
+ bash -c "/tools/calculate_tags.sh ${{ inputs.rversion }}" \
55
+ | tail -1 > tags.txt
55
56
cat tags.txt
56
57
shell : bash
57
58
Original file line number Diff line number Diff line change 76
76
cat ./tags.txt
77
77
- run : |
78
78
# Create the manifest lists and push them to the respective registries
79
- for tag in `echo ${{ needs.amd64.outputs. tags }} | tr ',' ' '`; do
79
+ for tag in `cat tags.txt | tr ',' ' '`; do
80
80
echo docker buildx imagetools create -t $tag \
81
81
ghcr.io/r-hub/r-minimal/r-minimal:${{ matrix.config.r }}-amd64 \
82
82
ghcr.io/r-hub/r-minimal/r-minimal:${{ matrix.config.r }}-arm64;
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ function calculate() {
141
141
tags=$( calculate_raw " $@ " )
142
142
echo " Tags to add: $tags "
143
143
ftags=" $( prefix_tags " $tags " ) "
144
- echo " ::set-output name=tags:: ${ftags} "
144
+ echo " ${ftags} "
145
145
}
146
146
147
147
function main() {
You can’t perform that action at this time.
0 commit comments