@@ -117,7 +117,7 @@ jobs:
117
117
# Likely, we consider using `-iog` as the default and do not generate other images.
118
118
# Then the user choices left would be between native, `-windows` or `-js` target platforms,
119
119
# and the GHC version (currently `ghc810` and `ghc96`).
120
- if : ${{ contains(fromJSON('["x86_64-linux", "aarch64-linux"]'), inputs.platform) && contains(fromJson('["","-windows","-js"]'), inputs.target-platform) && contains(fromJson('["ghc810","ghc96"]'), inputs.compiler-nix-name) && !inputs.minimal && inputs.iog }}
120
+ if : ${{ contains(fromJSON('["x86_64-linux", "aarch64-linux"]'), inputs.platform) && contains(fromJson('["","-windows","-js"]'), inputs.target-platform) && contains(fromJson('["ghc810","ghc96"]'), inputs.compiler-nix-name) && !inputs.minimal }}
121
121
steps :
122
122
- name : Checkout repository
123
123
uses : actions/checkout@v3
@@ -134,13 +134,14 @@ jobs:
134
134
with :
135
135
context : .
136
136
push : true
137
- tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.platform }}.${{ inputs.compiler-nix-name }}${{ inputs.target-platform }}- iog
137
+ tags : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.platform }}.${{ inputs.compiler-nix-name }}${{ inputs.target-platform }}${{ inputs.iog-full || inputs. iog }}
138
138
build-args : |
139
139
PLATFORM=${{ inputs.platform }}
140
140
TARGET_PLATFORM=${{ inputs.target-platform }}
141
141
COMPILER_NIX_NAME=${{ inputs.compiler-nix-name }}
142
142
MINIMAL=${{ inputs.minimal }}
143
143
IOG=${{ inputs.iog }}
144
+ IOG_FULL=${{ inputs.iog-full }}
144
145
145
146
codespace-download :
146
147
env :
@@ -170,5 +171,5 @@ jobs:
170
171
password : ${{ secrets.GITHUB_TOKEN }}
171
172
172
173
- name : Run test command inside the Dev Container
173
- run : docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.platform }}.${{ inputs.compiler-nix-name }}${{ inputs.target-platform }}-iog \
174
+ run : docker run --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ inputs.platform }}.${{ inputs.compiler-nix-name }}${{ inputs.target-platform }} \
174
175
/bin/bash -c "cabal update && cabal unpack hello && cd hello-* && cabal build"
0 commit comments