diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37d95ef..3260187 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: with: node-version: "16.x" cache: 'npm' - - run: npm install + - run: npm ci - run: npm run build --if-present - name: Set up Docker Buildx @@ -36,10 +36,14 @@ jobs: echo ${{ github.repository }}:${{github.REF_NAME}}-${{github.run_id}} echo ${{ github.ACTOR }} + - run: echo 11 env.DOCKER_IMAGE ${{env.DOCKER_IMAGE}} + - run: echo 22 DOCKER_IMAGE ${DOCKER_IMAGE} + - run: echo 333 DOCKER_IMAGE $DOCKER_IMAGE + - name: build and push docker image uses: docker/build-push-action@v5 with: context: . push: true platforms: linux/amd64,linux/arm64 - tags: $DOCKER_IMAGE:${{github.REF_NAME}}-${{github.run_id}} + tags: ${{env.DOCKER_IMAGE}}:${{github.REF_NAME}}-${{github.run_id}}