Skip to content

Commit 52de46c

Browse files
committed
Switch to go 1.22.0
1 parent 89ea5d5 commit 52de46c

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v3
1818
with:
19-
go-version: 1.20.10
19+
go-version: 1.22.0
2020

2121
- name: Download xcaddy
2222
run: curl -vLO https://github.com/caddyserver/xcaddy/releases/download/v0.3.5/xcaddy_0.3.5_linux_amd64.tar.gz

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
FROM ubuntu:latest
22

33
ENV XCADDY_VERSION=0.3.5 \
4-
GOLANG_VERSION=20.10 \
4+
GOLANG_VERSION=22.0 \
55
APPPORT=:2011 \
6-
UPLOADER_VERSION=0.15
6+
UPLOADER_VERSION=0.16
77

88
COPY docker-files /
99

@@ -24,6 +24,8 @@ RUN set -x \
2424
&& pwd \
2525
&& mv caddy /usr/local/bin/ \
2626
&& cd .. \
27+
&& chgrp -R 0 /opt/webroot/ \
28+
&& chmod -R g=u /opt/webroot/ \
2729
&& apt-get -y autoremove \
2830
&& apt-get -y autoclean \
2931
&& rm -rf build /usr/local/go /var/cache/apk/* root/.cache root/go/ \

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/git001/caddyv2-upload
22

3-
go 1.20
3+
go 1.22
44

55
require (
6-
github.com/caddyserver/caddy/v2 v2.7.2
6+
github.com/caddyserver/caddy/v2 v2.7.6
77
github.com/dustin/go-humanize v1.0.1
88
github.com/google/uuid v1.3.0
99
github.com/pkg/errors v0.9.1

upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
)
1717

1818
const (
19-
Version = "0.15"
19+
Version = "0.16"
2020
)
2121

2222
func init() {

0 commit comments

Comments
 (0)