Skip to content

Commit

Permalink
try using json
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Jan 17, 2025
1 parent 7b4b212 commit 8b996a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
docker-clean-metadata:
runs-on: ubuntu-latest
outputs:
tags: ${{ steps.meta.outputs.tags }}
json: ${{ steps.meta.outputs.json }}
steps:
- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down Expand Up @@ -97,7 +97,6 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}


docker-manifest:
needs:
- docker-build
Expand All @@ -106,7 +105,7 @@ jobs:

strategy:
matrix:
image: ${{ needs.docker-clean-metadata.outputs.tags }}
image: ${{ fromJson(needs.docker-clean-metadata.outputs.json).tags }}

steps:
- name: Log in to Docker Hub
Expand Down

0 comments on commit 8b996a2

Please sign in to comment.