Skip to content

Commit

Permalink
chore: Update go version in Dockerfile
Browse files Browse the repository at this point in the history
This makes the default go version 1.20 in the Dockerfile. This also
adds 1.20 to the CI matrix.

Signed-off-by: crozzy <joseph.crosland@gmail.com>
  • Loading branch information
crozzy committed Feb 8, 2023
1 parent 854a2fb commit 896b2df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- id: config
run: |
echo 'go_versions=["1.18", "1.19"]' >> "$GITHUB_OUTPUT"
echo 'go_versions=["1.18", "1.19", "1.20"]' >> "$GITHUB_OUTPUT"
commit-check:
name: Commit Check
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

ARG GO_VERSION=1.18
ARG GO_VERSION=1.20
FROM quay.io/projectquay/golang:${GO_VERSION} AS build
WORKDIR /build/
ADD . /build/
Expand Down

0 comments on commit 896b2df

Please sign in to comment.