Skip to content

Commit 78511da

Browse files
authored
Merge pull request #4 from jsturtevant/fix-image-release
Fix image version
2 parents bc66f1c + 8048ced commit 78511da

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: get version from tag
8181
if: ${{ github.event_name != 'pull_request' && github.ref_type == 'tag' }}
8282
run: |
83-
imageversion=echo $GITHUB_REF_NAME | sed 's/^image-//'
83+
imageversion=$(echo $GITHUB_REF_NAME | sed 's/^image-//')
8484
echo "IMAGE_VERSION=$imageversion" >> $GITHUB_ENV
8585
- name: get version for PR
8686
if: ${{ github.event_name == 'pull_request' }}

images/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -x
33
output=${OUTPUT:=local,dest=/tmp/}
4-
INSTALLER_VERSION="${INSTALLER_VERSION:=installer-v0.0.1}"
4+
INSTALLER_VERSION="${INSTALLER_VERSION:=latest}"
55
version="${VERSION:=latest}"
66
image="${IMAGE:=ghcr.io/jsturtevant/windows-debug:$version}"
77

0 commit comments

Comments
 (0)