File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 13
13
description : ' Use previous ref'
14
14
type : boolean
15
15
default : true
16
+ latest :
17
+ description : ' Use the tags latest/stable'
18
+ type : boolean
19
+ default : true
16
20
jobs :
17
21
online_test_deck :
18
22
permissions :
51
55
id : upload
52
56
shell : bash
53
57
run : |
54
- sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated-deck:latest
55
- sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated-deck:stable
58
+ if [[ "${{ github.event.inputs.latest }}" == "true" ]]; then
59
+ sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated-deck:latest
60
+ sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated-deck:stable
61
+ fi
56
62
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated-deck:${{ steps.rechunk.outputs.version }}
57
63
You can’t perform that action at this time.
0 commit comments