Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhaillav committed Mar 25, 2024
1 parent 930ae51 commit 1a37196
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Tag default image
if: ${{ matrix.module == "api,metrics" }}
if: ${{ ${{ matrix.module }} == "api,metrics" }}
run: echo "IMAGE_TAG_SUFFIX=" >> "$GITHUB_OUTPUT"
- name: Tag api image
if: ${{ matrix.module == "api" }}
if: ${{ ${{ matrix.module }} == "api" }}
run: echo "IMAGE_TAG_SUFFIX=-api" >> "$GITHUB_OUTPUT"
- name: Tag metrics image
if: ${{ matrix.module == "metrics" }}
if: ${{ ${{ matrix.module }} == "metrics" }}
run: echo "IMAGE_TAG_SUFFIX=-metrics" >> "$GITHUB_OUTPUT"
- name: Tag light image
if: ${{ matrix.module == "" }}
if: ${{ ${{ matrix.module }} == "" }}
run: echo "IMAGE_TAG_SUFFIX=light" >> "$GITHUB_OUTPUT"
- name: Build and push
uses: docker/build-push-action@v4
Expand Down

0 comments on commit 1a37196

Please sign in to comment.