Skip to content

Commit

Permalink
fix replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoxamin committed Dec 30, 2024
1 parent 61fa295 commit 4d2a222
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@ jobs:

- name: Prepare Platform Tag
id: platform_tag
run: echo "TAG=${{ matrix.platform }}" | sed 's|/|-|g' > tag.txt
run: echo "platform_tag=$(echo ${{ matrix.platform }} | sed 's|/|-|g')" >> $GITHUB_ENV

- name: Build and push platform-specific image
uses: docker/build-push-action@v5
with:
context: .
platforms: ${{ matrix.platform }}
push: true
tags: albertoxamin/bang:$(cat tag.txt)
cache-from: type=registry,ref=albertoxamin/bang:$(cat tag.txt)
tags: albertoxamin/bang:${{ env.platform_tag }}
cache-from: type=registry,ref=albertoxamin/bang:${{ env.platform_tag }}
cache-to: type=inline

create-manifest:
Expand Down

0 comments on commit 4d2a222

Please sign in to comment.