Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juhp/skopedate
check date of container image
https://github.com/juhp/skopedate
Last synced: about 1 month ago
JSON representation
check date of container image
- Host: GitHub
- URL: https://github.com/juhp/skopedate
- Owner: juhp
- License: mit
- Created: 2020-11-25T03:19:15.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-08-11T19:13:36.000Z (over 1 year ago)
- Last Synced: 2024-12-02T11:57:04.108Z (about 2 months ago)
- Language: Haskell
- Homepage:
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# skopedate
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
Check/compares dates of container images using skopeo.
Currently the list of predefined registries is hardcoded.## Usage
```shellsession
$ skopedate --version
0.1
$ skopedate --help
Checks dates of latest container imagesUsage: skopedate [--version] [-d|--debug] IMAGE
A tool for seeing the dates of latest container images in registries
Available options:
-h,--help Show this help text
--version Show version
-d,--debug show debug output
```For Fedora several registries are checked:
```shellsession
$ skopedate fedora:39
registry.fedoraproject.org 2023-08-11 17:33:49 +0800
candidate-registry.fedoraproject.org 2023-08-11 17:33:49 +0800
quay.io/fedora 2023-08-11 17:33:49 +0800
docker.io 2023-08-05 02:23:06 +0800
```An centos image with a slash:
```shellsession
$ skopedate centos/centos:stream9
quay.io 2023-08-08 11:39:14 +0800
``````shellsession
$ skopedate fedora-toolbox:39
registry.fedoraproject.org 2023-08-11 17:33:52 +0800
candidate-registry.fedoraproject.org 2023-08-11 17:33:52 +0800
```The argument can also be registry/image:
```shellsession
$ skopedate docker.io/library/alpine
docker.io/library/alpine 2023-08-08 03:20:20 +0800
```## Installation
There is a [Copr repo](https://copr.fedorainfracloud.org/coprs/petersen/skopedate/) for Fedora and EPEL 9.`stack install` or `cabal install`
## Contribute
skopedate is distributed under the MIT license.See https://github.com/juhp/skopedate
Support for more common images could be added.