Skip to content

Commit

Permalink
Force version numbers to be processed as strings
Browse files Browse the repository at this point in the history
YAML defaults to reading numbers as numbers; but with version numbers
this causes problems; e.g., 8.10 -> 8.1.

Using quotes to force all numerical version numbers to be read as
strings.

Signed-off-by: Jonathon Anderson <[email protected]>
  • Loading branch information
anderbubble committed Sep 25, 2024
1 parent 31d5fbb commit 3d59c5a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/container-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,51 +24,51 @@ jobs:
matrix:
include:
- os: rockylinux
version: 8
version: "8"
context: rockylinux-8
file: rockylinux-8/Containerfile
- os: rockylinux
version: 8.7
context: rockylinux-8
file: rockylinux-8/Containerfile-8.7
- os: rockylinux
version: 8.8
version: "8.8"
context: rockylinux-8
file: rockylinux-8/Containerfile-8.8
- os: rockylinux
version: 8.9
version: "8.9"
context: rockylinux-8
file: rockylinux-8/Containerfile-8.9
- os: rockylinux
version: 8.10
version: "8.10"
context: rockylinux-8
file: rockylinux-8/Containerfile-8.10
- os: rockylinux
version: 9
version: "9"
context: rockylinux-9
file: rockylinux-9/Containerfile
- os: rockylinux
version: "9.0"
context: rockylinux-9
file: rockylinux-9/Containerfile-9.0
- os: rockylinux
version: 9.1
version: "9.1"
context: rockylinux-9
file: rockylinux-9/Containerfile-9.1
- os: rockylinux
version: 9.2
version: "9.2"
context: rockylinux-9
file: rockylinux-9/Containerfile-9.2
- os: rockylinux
version: 9.3
version: "9.3"
context: rockylinux-9
file: rockylinux-9/Containerfile-9.3
- os: rockylinux
version: 9.4
version: "9.4"
context: rockylinux-9
file: rockylinux-9/Containerfile-9.4
- os: leap
version: 15
version: "15"
context: leap
file: leap/Containerfile.15
- os: leap
Expand Down

0 comments on commit 3d59c5a

Please sign in to comment.