Skip to content

Commit 5809b51

Browse files
authored
Fix the sed command to update image sha (#571)
* Fix the sed command to update image sha * final fix
1 parent 90027c6 commit 5809b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135
cd ansible-devspaces-demo
136136
git checkout -b update-devspaces-image-${{ github.event.release.tag_name }}
137137
export SHA=$(docker manifest inspect -v ghcr.io/ansible/ansible-devspaces:latest | jq -r '[.Descriptor.digest][0]')
138-
sed -i "s|image:.*|image: ghcr.io/ansible/ansible-devspaces@${{ env.SHA }}|" devfile.yaml
138+
sed -i "s|image:.*|image: ghcr.io/ansible/ansible-devspaces@${SHA}|" devfile.yaml
139139
git add devfile.yaml
140140
git commit -m "Update devspaces container image SHA"
141141
git push origin update-devspaces-image-${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)