Skip to content
Snippets Groups Projects
Commit cf750363 authored by nimrod's avatar nimrod
Browse files

GitLab CI and personal registry.

parent a5b2d5f5
No related branches found
No related tags found
No related merge requests found
Pipeline #518 passed
---
include:
- project: shore/ci-templates
file: templates/pre-commit.yml
- project: shore/ci-templates
file: templates/docker.yml
stages:
- test
- build
- deploy
variables:
IMAGE: cron
build:
extends: .docker-build-shore
tags: [ns4.shore.co.il]
push:
extends: .docker-push-shore
tags: [ns4.shore.co.il]
# Cron docker
[![pipeline status](https://git.shore.co.il/nimrod/cron-docker/badges/master/pipeline.svg)](https://git.shore.co.il/nimrod/cron-docker/-/commits/master)
A Docker image for running a Cron daemon, actually running
[Supersonic](https://github.com/aptible/supercronic).
......@@ -10,7 +12,7 @@ multi-stage image build as the source of the `supersonic` binary to incorporate
in your own image like so:
```
FROM adarnimrod/cron as supersonic
FROM registry.shore.co.il/cron as supersonic
FROM alpine:latest
COPY --from=supersonic /usr/local/bin/supersonic /usr/local/bin/
......@@ -20,7 +22,7 @@ The other pattern is building on top of this image to run some periodic tasks
like so:
```
FROM adarnimrod/cron
FROM registry.shore.co.il/cron
RUN apk add --update --no-cache aws-cli
COPY crontab /crontab
COPY script /usr/local/bin/
......@@ -32,7 +34,7 @@ This software is licensed under the MIT license (see `LICENSE.txt`).
## Author Information
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
https://www.shore.co.il/). Patches are welcome via [`git send-email`](
http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
at: <https://git.shore.co.il/explore/>.
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my
[website](https://www.shore.co.il/). Patches are welcome via
[`git send-email`](http://git-scm.com/book/en/v2/Git-Commands-Email). The repository
is located at: <https://git.shore.co.il/expore/>.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment