Skip to content

Commit db1784e

Browse files
committed
add latest tag
1 parent 2d0bfea commit db1784e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/online_test.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
description: 'Use previous ref'
1414
type: boolean
1515
default: true
16+
latest:
17+
description: 'Use the tags latest/stable'
18+
type: boolean
19+
default: true
1620
jobs:
1721
online_test:
1822
permissions:
@@ -51,7 +55,9 @@ jobs:
5155
id: upload
5256
shell: bash
5357
run: |
54-
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated:latest
55-
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated:stable
58+
if [[ "${{ github.event.inputs.latest }}" == 'true' ]]; then
59+
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated:latest
60+
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated:stable
61+
fi
5662
sudo skopeo copy ${{ steps.rechunk.outputs.ref }} docker://ghcr.io/hhd-dev/bazzite-automated:${{ steps.rechunk.outputs.version }}
5763

0 commit comments

Comments
 (0)