Skip to content

Commit 889d9f4

Browse files
committed
Revert "testing-farm-sse-bridge: Create repo from CI"
This reverts commit 7e23062. It doesn't work, I'll just have to to get the repository created through the web ui.
1 parent 7e23062 commit 889d9f4

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/build-and-push.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,30 +52,6 @@ jobs:
5252
build-and-push-testing-farm-sse-bridge:
5353
runs-on: ubuntu-latest
5454
steps:
55-
- name: Ensure Repo Exists
56-
run: |
57-
curl -s -o response.txt -w "%{http_code}" -X POST https://quay.io/api/v1/repository \
58-
-H "Content-Type: application/json" \
59-
-u "${{ secrets.REGISTRY_LOGIN }}:${{ secrets.REGISTRY_TOKEN }}" \
60-
-d "{
61-
\"namespace\": \"jotnar\",
62-
\"repository\": \"testing-farm-sse-bridge\",
63-
\"description\": \"Testing Farm SSE Bridge container\",
64-
\"visibility\": \"public\",
65-
\"repo_kind\": \"image\"
66-
}" | {
67-
read status
68-
if [[ "$status" == "200" || "$status" == "201" ]]; then
69-
echo "✅ ✅ Repo created or already exists."
70-
elif [[ "$status" == "409" ]]; then
71-
echo "✅ Repo already exists."
72-
else
73-
echo "❌ Failed to create repo. Status: $status"
74-
cat response.txt
75-
exit 1
76-
fi
77-
}
78-
7955
- name: Build and push testing-farm-sse-bridge to quay.io registry
8056
uses: sclorg/build-and-push-action@v4
8157
with:

0 commit comments

Comments
 (0)