From 4bcc6359e3cbcd31743ce0394a6c4189b0a6734c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=AE=E5=87=89?= Date: Thu, 20 Jan 2022 20:52:14 +0800 Subject: [PATCH] :green_heart: fix docker build --- .github/workflows/{docker_build.yml => build_docker.yml} | 4 ++-- .github/workflows/{docker_release.yml => release_docker.yml} | 2 +- Dockerfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{docker_build.yml => build_docker.yml} (97%) rename .github/workflows/{docker_release.yml => release_docker.yml} (98%) diff --git a/.github/workflows/docker_build.yml b/.github/workflows/build_docker.yml similarity index 97% rename from .github/workflows/docker_build.yml rename to .github/workflows/build_docker.yml index 8ddf83564b5..24f36b3d3fc 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/build_docker.yml @@ -1,4 +1,4 @@ -name: build +name: build_docker on: push: @@ -7,7 +7,7 @@ on: branches: [ v2 ] jobs: - docker_build: + build_docker: name: Docker runs-on: ubuntu-latest steps: diff --git a/.github/workflows/docker_release.yml b/.github/workflows/release_docker.yml similarity index 98% rename from .github/workflows/docker_release.yml rename to .github/workflows/release_docker.yml index 9507a30bdaa..66f8b7e1aa4 100644 --- a/.github/workflows/docker_release.yml +++ b/.github/workflows/release_docker.yml @@ -1,4 +1,4 @@ -name: release +name: release_docker on: push: diff --git a/Dockerfile b/Dockerfile index 7f42b5317ea..afa91a84c8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ LABEL stage=go-builder WORKDIR /app/ COPY ./ ./ RUN apk add --no-cache bash git go gcc musl-dev; \ - sh build.sh docker + bash build.sh docker FROM alpine:edge LABEL MAINTAINER="i@nn.ci"