Update docker image build script

This commit is contained in:
Khanh Ngo 2021-11-06 15:25:20 +01:00
parent 3081036c2c
commit c85a5dac24
No known key found for this signature in database
GPG Key ID: 920A7D645DCB23DF

View File

@ -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 }}