Update docker image build script
This commit is contained in:
parent
3081036c2c
commit
c85a5dac24
1 changed files with 1 additions and 2 deletions
3
.github/workflows/build-and-publish.yml
vendored
3
.github/workflows/build-and-publish.yml
vendored
|
|
@ -46,9 +46,8 @@ jobs:
|
|||
|
||||
- name: Build release image
|
||||
uses: docker/build-push-action@v2
|
||||
if: ${{ github.event_name == 'create' && github.event.ref_type == 'tag' }}
|
||||
with:
|
||||
context: ./
|
||||
file: ./docker/Dockerfile
|
||||
push: true
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue