Docker build update #3
This commit is contained in:
5
.github/workflows/docker-image.yml
vendored
5
.github/workflows/docker-image.yml
vendored
@@ -73,10 +73,13 @@ jobs:
|
|||||||
images=$(curl -s -H "Authorization: Bearer ${{ secrets.GHCR_TOKEN }}" \
|
images=$(curl -s -H "Authorization: Bearer ${{ secrets.GHCR_TOKEN }}" \
|
||||||
"https://api.github.com/orgs/${{ github.repository_owner }}/packages/container/ssh-project/versions")
|
"https://api.github.com/orgs/${{ github.repository_owner }}/packages/container/ssh-project/versions")
|
||||||
|
|
||||||
|
# Check the response (for debugging)
|
||||||
|
echo "Response from GHCR: $images"
|
||||||
|
|
||||||
# List image tags and delete older versions (keep the latest 10)
|
# List image tags and delete older versions (keep the latest 10)
|
||||||
count=0
|
count=0
|
||||||
max_images=10
|
max_images=10
|
||||||
for image in $(echo "$images" | jq -r '.[].id'); do
|
for image in $(echo "$images" | jq -r '.[] | .id'); do
|
||||||
if [ $count -ge $max_images ]; then
|
if [ $count -ge $max_images ]; then
|
||||||
echo "Deleting image $image"
|
echo "Deleting image $image"
|
||||||
curl -X DELETE -H "Authorization: Bearer ${{ secrets.GHCR_TOKEN }}" \
|
curl -X DELETE -H "Authorization: Bearer ${{ secrets.GHCR_TOKEN }}" \
|
||||||
|
|||||||
1
info.txt
1
info.txt
@@ -2,7 +2,6 @@ Currently:
|
|||||||
make the cmds run at start not show up
|
make the cmds run at start not show up
|
||||||
see if it auto resizes the terminal via cmds after the browser window size has changed or +/- clicked (does not)
|
see if it auto resizes the terminal via cmds after the browser window size has changed or +/- clicked (does not)
|
||||||
before release, call this version 1.0 (don't do beta and shit/come uip with naming scheme like 1.1 or just increment by 1 and when to go to next version)
|
before release, call this version 1.0 (don't do beta and shit/come uip with naming scheme like 1.1 or just increment by 1 and when to go to next version)
|
||||||
fix all the giuthub workflow problems (fixed I think)
|
|
||||||
|
|
||||||
Overall Features:
|
Overall Features:
|
||||||
SSH/RDP(?)/VNC(?)
|
SSH/RDP(?)/VNC(?)
|
||||||
|
|||||||
Reference in New Issue
Block a user