From c7db989a1f5fb0708228808d6ae9a09aeda58069 Mon Sep 17 00:00:00 2001 From: vicanso Date: Sat, 2 Jan 2021 09:23:06 +0800 Subject: [PATCH] chore: update github action --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4022c87..cc6cf0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,6 @@ jobs: - name: Set output id: vars run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - - name: Set version - run: echo ${{ steps.vars.outputs.tag }} > asset/version - name: Set up QEMU uses: docker/setup-qemu-action@v1 - name: Set up Docker Buildx @@ -24,6 +22,10 @@ jobs: with: username: ${{ secrets.DOCKER_HUB_USERNAME }} password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} + - name: Set version + run: | + ls -l + echo ${{ steps.vars.outputs.tag }} > asset/version - name: Build and push id: docker_build uses: docker/build-push-action@v2