Skip to content

Commit

Permalink
321
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Dec 3, 2024
1 parent 3ca35b9 commit 727e48a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/docker-new.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and release multiple Docker Images
name: Build and Push Docker Images

on:
push:
Expand All @@ -25,13 +25,9 @@ jobs:
- name: Find Docker image directories
id: find
run: |
images=$(find build/images -mindepth 1 -maxdepth 1 -type d -printf "%f\n" | jq -R . | jq -s '{image: .}')
images=$(find build/images -mindepth 1 -maxdepth 1 -type d -printf "%f\n" | jq -R . | jq -s '{image: .}' | jq -c .)
echo "matrix=$images" >> $GITHUB_OUTPUT
- name: Set matrix
id: set-matrix
run: echo "matrix=${{ steps.find.outputs.matrix }}" >> $GITHUB_OUTPUT

build-and-push:
needs: find-images
runs-on: ubuntu-latest
Expand Down

0 comments on commit 727e48a

Please sign in to comment.