Fix tags
This commit is contained in:
parent
0ccd69789c
commit
a26bcf9851
1 changed files with 9 additions and 1 deletions
10
.github/workflows/docker.yaml
vendored
10
.github/workflows/docker.yaml
vendored
|
|
@ -24,8 +24,16 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Extract metadata for the Docker image
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@v4
|
||||||
|
with:
|
||||||
|
images: schmelczera/great_ai
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: schmelczera/great_ai:latest,schmelczera/great_ai:${GITHUB_REF##*/}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue