Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Correctly tag the docker images

Roland Geiderc1779f820ef9
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 2f00016df..3668cef63 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -114,8 +114,14 @@ jobs:
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
- with:
- images: ${{ env.REGISTRY_IMAGE }}
+ # Think if we want to also build branches, PRs, tags, etc.
+ # https://github.com/docker/metadata-action
+ tags: |
+ type=raw,value=latest
+ type=raw,value=2.2-dev
+ images: |
+ ${{ env.REGISTRY_IMAGE }}
+ ${{ env.REGISTRY_IMAGE_ALT }}
- name: Login to Docker Hub
uses: docker/login-action@v2