From 6a3a934aa545f58b9c1ef64d995b891f730411f7 Mon Sep 17 00:00:00 2001 From: liqingping Date: Thu, 8 Jul 2021 13:34:56 +0800 Subject: [PATCH] ci: update docker build --- .github/workflows/go.yaml | 4 +--- .github/workflows/release.yaml | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 1a76f9c..4d36984 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -57,6 +57,4 @@ jobs: with: go-version: 1.16 - name: Build Images - run: make dev-images - - name: Push Images - run: make docker-push \ No newline at end of file + run: make build \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 9c10f0e..33ef1e8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -66,8 +66,6 @@ jobs: - name: Build and push id: docker_build uses: docker/build-push-action@v2 - env: - TARGET: ${{ matrix.target }} with: builder: ${{ steps.buildx.outputs.name }} context: ./ @@ -76,7 +74,7 @@ jobs: tags: ${{ steps.prep.outputs.tags }} cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache - target: $TARGET + target: ${{ matrix.target }} - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }} \ No newline at end of file -- GitLab