Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add postgis image #138

Closed
wants to merge 2 commits into from
Closed

Add postgis image #138

wants to merge 2 commits into from

Conversation

gido
Copy link
Contributor

@gido gido commented Feb 26, 2024

This PR fix #137

This add PostGIS image support to Tugboat and this is based on the PostgreSQL image.

Comment on lines +2 to +5
((newer_than=365*12*60*60))
curl -Ls https://registry.hub.docker.com/v2/repositories/postgis/postgis/tags?page_size=1024 |
jq -r '[.results[] | select((.images | length) > 0 and (.last_updated | sub("\\.[0-9]+Z"; "Z") | fromdate) > (now - '"$newer_than"')) | {name: .name, digest: .images[0].digest}] | group_by(.digest) | map([.[].name] | join(",")) | .[]' |
grep -v -e beta -e rc -e alpine
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really have no idea what is the policy for tags support.
I saw somewhere in the docs that alpine version are not recommended. Feedbacks are welcome :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, nice work!

Comment on lines +2 to +5
((newer_than=365*12*60*60))
curl -Ls https://registry.hub.docker.com/v2/repositories/postgis/postgis/tags?page_size=1024 |
jq -r '[.results[] | select((.images | length) > 0 and (.last_updated | sub("\\.[0-9]+Z"; "Z") | fromdate) > (now - '"$newer_than"')) | {name: .name, digest: .images[0].digest}] | group_by(.digest) | map([.[].name] | join(",")) | .[]' |
grep -v -e beta -e rc -e alpine
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, nice work!

Copy link
Contributor

@q0rban q0rban left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's call this just postgis

services/postgis/manifest Show resolved Hide resolved
@q0rban
Copy link
Contributor

q0rban commented Feb 26, 2024

closing in favor of #139 as I couldn't figure out how to get the GHA workflow to run here.

@q0rban q0rban closed this Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PostGIS images
2 participants