https://github.com/tmaier/docker-gemfury
Gemfury. Ready for CI
https://github.com/tmaier/docker-gemfury
docker-image gemfury
Last synced: 8 months ago
JSON representation
Gemfury. Ready for CI
- Host: GitHub
- URL: https://github.com/tmaier/docker-gemfury
- Owner: tmaier
- License: mit
- Created: 2018-03-22T20:16:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T21:34:31.000Z (over 3 years ago)
- Last Synced: 2025-01-14T00:15:41.039Z (over 1 year ago)
- Topics: docker-image, gemfury
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/tmaier/gemfury
- Size: 5.86 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gemfury Docker Image
This docker image is based on the official [Ruby](https://hub.docker.com/_/ruby/) image and adds the [Gemfury](https://gemfury.com) gem to it.
This is very useful for CI pipelines that need to upload gems to Gemfury.
[](https://hub.docker.com/r/tmaier/gemfury/)
[](https://hub.docker.com/r/tmaier/gemfury/)
[](https://github.com/tmaier/docker-gemfury/issues)
[](https://github.com/tmaier/docker-gemfury)
## Usage instructions for GitLab CI
The following example shows how to use this image in a GitLab CI pipeline (e.g. `.gitlab-ci.yml`).
It depends on a `build` job that produces a `.gem` file in the `pkg` directory.
Configure `GEMFURY_API_TOKEN` as a [variable](https://docs.gitlab.com/ee/ci/variables/#variables) in the GitLab CI settings.
Learn more [how to manage access tokens (push tokens) at Gemfury](https://gemfury.com/help/tokens/#push-tokens-to-upload-packages).
```yml
upload:gemfury:
image:
name: tmaier/gemfury:latest
entrypoint: [""]
script:
- fury push ./pkg/*.gem --api-token=$GEMFURY_API_TOKEN
variables:
GIT_STRATEGY: none
dependencies:
- build
stage: upload
only:
- master
```
## Author
[Tobias L. Maier](https://tobiasmaier.info) for [BauCloud GmbH](https://www.baucloud.com)
## License
See [LICENSE](LICENSE).