Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rspec/docker-ci
https://github.com/rspec/docker-ci
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rspec/docker-ci
- Owner: rspec
- Created: 2021-01-02T21:05:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-04-11T12:04:00.000Z (over 1 year ago)
- Last Synced: 2024-10-08T10:35:21.891Z (3 months ago)
- Language: Dockerfile
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# RSpec Docker Images
Base images for testing RSpec on legacy Rubies.
This is not recommended for use.
## Setup Instructions
["Create a "classic" personal access](https://github.com/settings/tokens/new) token with the following permissions:
- write:packages
- read:packages
- delete:packagesIts recommended you have an expiry on this token, so remember to refresh it before pushing images.
Login to the Github Container Registry (GHCR) with your token, e.g.
```
export CR_PAT=`pbpaste`
echo $CR_PAT | docker login ghcr.io -u --password-stdin
```Note how you pass the token to docker is up to you, this is just an example.
## Build Instructions
1) `docker build `
2) Optionally `se `docker image` to find sha for step 3 if you missed it in the build output.
3) `docker tag ghcr.io/rspec/docker-ci:`
4) `docker push ghcr.io/rspec/docker-ci:`