Skip to content

Commit

Permalink
Adding workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mahomedalid committed Oct 19, 2023
1 parent 2c0ffa5 commit 996b7bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
run: |
for dir in */; do
dir=${dir%*/}
image_name=$(echo $dir | tr '[:upper:]' '[:lower:]' | tr -d '[:space:]')
image_name=${{ github.repository }}-$(echo $dir | tr '[:upper:]' '[:lower:]' | tr -d '[:space:]')
tag=${{ github.sha }}
docker buildx build -t ghcr.io/${{ github.repository }}/$$image_name:$$tag -f ./$dir/Dockerfile ./$dir -o type=registry,registry.insecure=true
docker buildx build -t ghcr.io/${{ github.repository_owner }}/$$image_name:$$tag -f ./$dir/Dockerfile ./$dir -o type=registry,registry.insecure=true
done
done
Expand Down

0 comments on commit 996b7bc

Please sign in to comment.