hugomods-docker/docker/hugo/snippets/go
Razon Yang 4204ca78d6 Refactor
Closed #33: add multi-architecture support, but the exts support amd64 only.
Fixed #34: override the build date, commit hash and vendor info.
Fixed #36: push images to multiple registries in same job.
Trigger the workflow every 10 mins.
2023-06-06 09:12:36 +08:00

5 lines
155 B
Text

# copy Go from builder.
COPY --from=builder /usr/local/go /usr/local/go
# create a symbolic link for Go.
RUN ln -s /usr/local/go/bin/go /usr/local/bin/go