Skip to content

Commit

Permalink
[docker build fix] multiple image tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ktatarnikov committed Feb 14, 2025
1 parent a393935 commit 76a65e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -255,13 +255,16 @@ jobs:
echo "VERSION_APP=$(cat "./VERSION")" >> $GITHUB_ENV
echo "DOCKER_IMAGES=$(cat "./DOCKER_IMAGES")" >> $GITHUB_ENV
echo "DOCKER_TAGS=$(cat "./VERSION_DOCKER")" >> $GITHUB_ENV
echo "DOCKER_TAGS_META<<EOF" >> $GITHUB_ENV
cat VERSION_DOCKER | tr ',' '\n' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: ${{ env.DOCKER_TAGS }}
tags: ${{ env.DOCKER_TAGS_META }}

- name: Create manifest list and push
working-directory: /tmp/digests
Expand Down

0 comments on commit 76a65e2

Please sign in to comment.