[docker] let metadata-action automatically generate 'latest' tags
This commit is contained in:
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@@ -45,9 +45,6 @@ jobs:
|
||||
tags: |
|
||||
type=sha,format=long,prefix=
|
||||
type=ref,event=tag
|
||||
# https://github.com/docker/metadata-action/issues/112
|
||||
flavor: |
|
||||
latest=${{ github.ref == 'refs/heads/master' }}
|
||||
|
||||
# https://github.com/docker/build-push-action
|
||||
- name: Build image
|
||||
|
||||
Reference in New Issue
Block a user