We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccb255d commit 08b5cbfCopy full SHA for 08b5cbf
1 file changed
.github/workflows/nightly.yml
@@ -35,14 +35,21 @@ jobs:
35
steps:
36
- uses: actions/checkout@v4.1.0
37
38
+ - run: |
39
+ if [ ${{ env.tag_suffix }} = "-dev" ]; then
40
+ echo "target=development" >> $GITHUB_ENV
41
+ else
42
+ echo "target=ruby" >> $GITHUB_ENV
43
+ fi
44
+
45
- uses: "./.github/actions/build_image"
46
with:
47
ruby_version: "${{ env.ruby_version }}"
48
nightly: "${{ env.nightly }}"
49
image_version_suffix: "${{ env.image_version_suffix }}${{ env.tag_suffix }}"
50
ubuntu_version: "${{ env.ubuntu_version }}"
51
tag_suffix: "${{ env.tag_suffix }}"
- target: development
52
+ target: ${{ env.target }}
53
54
- uses: "./.github/actions/push_image"
55
if: "${{ env.push }}"
0 commit comments