Skip to content

Commit

Permalink
Update build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWright committed Aug 9, 2020
1 parent 7f9e6c9 commit 93ca2b4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ jobs:
- name: Set env
run: echo ::set-env name=RELEASE_VERSION::${GITHUB_REF:10}
- name: Build
run: DOCKER_BUILDKIT=1 docker build --ssh default \
-t tomwright/mermaid-server:latest \
-t tomwright/mermaid-server:${{ env.RELEASE_VERSION }} \
-f Dockerfile .
run: docker build --ssh default -t tomwright/mermaid-server:latest -t tomwright/mermaid-server:${{ env.RELEASE_VERSION }} -f Dockerfile .
- name: Login
run: echo ${{ secrets.DOCKER_PASS }} | docker login -u${{ secrets.DOCKER_USER }} --password-stdin
- name: Push
Expand Down

0 comments on commit 93ca2b4

Please sign in to comment.