update github action

This commit is contained in:
ginuerzh
2022-01-11 00:16:57 +08:00
parent 963463f596
commit fc472a83fd
2 changed files with 3 additions and 3 deletions

View File

@ -70,5 +70,5 @@ jobs:
platforms: linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
push: true
tags: ${{ steps.prepare.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: registry,ref=${{ steps.prepare.outputs.docker_image }}:buildcache
cache-to: registry,ref=${{ steps.prepare.outputs.docker_image }}:buildcache,mode=max

View File

@ -12,7 +12,7 @@ ADD . /src
WORKDIR /src
RUN cd cmd/gost && go env && go build -v
RUN cd cmd/gost && go env && go build
FROM alpine:latest