microsoft / Oryx

Build your repo automatically.
Other
756 stars 174 forks source link

Golang version unsupported #1584

Closed KimKaiv closed 2 years ago

KimKaiv commented 2 years ago

Bug Report

Hi,

I am trying to deploy a static website from code hosted on GitHub, with the build being handled by Oryx/Hugo.

The website code is based on the 'wowchemy' version of the academic theme. In running this locally, I had to download the latest extended version of Hugo (version 1.19.1) along with the latest version of 'go'.

The code resides here: https://github.com/KimKaiv/starter-hugo-research-group.

The Azure/Oryx build-and-deploy log reports the following error.

Detecting platforms...
Error: Platform 'golang' version '1.15' is unsupported. Supported versions: 1.14.15, 1.15.15, 1.16.7, 1.17, 1.18

---End of Oryx build logs---
Oryx has found build steps, but identified unsupported platform versions. Failing build.

So I have two questions.

  1. Where is Oryx picking up the reference to golang version 1.15?
  2. If there isn't a straightforward answer to (1.) above, then is there some possibility to over-ride to version 1.18?

With many thanks, Sincerely, K

KimKaiv commented 2 years ago

image