File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 7070 with :
7171 username : ${{ secrets.DOCKER_HUB_USERNAME }}
7272 password : ${{ secrets.DOCKER_HUB_TOKEN }}
73+ - name : Download tags
74+ uses : actions/download-artifact@v5
75+ with :
76+ name : tags-${{ matrix.config.r }}-amd64
77+ path : .
78+ - run : |
79+ cat ./tags.txt
7380 - run : |
7481 # Create the manifest lists and push them to the respective registries
75- for tag in `echo ${{ needs.amd64.outputs. tags }} | tr ',' ' '`; do
82+ for tag in `cat tags.txt | tr ',' ' '`; do
7683 docker buildx imagetools create -t $tag \
7784 ghcr.io/r-hub/r-minimal/r-minimal:${{ matrix.config.r }}-amd64 \
7885 ghcr.io/r-hub/r-minimal/r-minimal:${{ matrix.config.r }}-arm64;
Original file line number Diff line number Diff line change 5050 run : |
5151 cp -r tools /tmp
5252 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
5556 cat tags.txt
5657 shell : bash
5758
Original file line number Diff line number Diff line change 7676 cat ./tags.txt
7777 - run : |
7878 # Create the manifest lists and push them to the respective registries
79- for tag in `echo ${{ needs.amd64.outputs. tags }} | tr ',' ' '`; do
80- echo docker buildx imagetools create -t $tag \
79+ for tag in `cat tags.txt | tr ',' ' '`; do
80+ docker buildx imagetools create -t $tag \
8181 ghcr.io/r-hub/r-minimal/r-minimal:${{ matrix.config.r }}-amd64 \
8282 ghcr.io/r-hub/r-minimal/r-minimal:${{ matrix.config.r }}-arm64;
8383 done
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ function calculate() {
141141 tags=$( calculate_raw " $@ " )
142142 echo " Tags to add: $tags "
143143 ftags=" $( prefix_tags " $tags " ) "
144- echo " ::set-output name=tags:: ${ftags} "
144+ echo " ${ftags} "
145145}
146146
147147function main() {
You can’t perform that action at this time.
0 commit comments