Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
morya committed Apr 28, 2024
1 parent e6b0694 commit ca2713b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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}}

0 comments on commit ca2713b

Please sign in to comment.