diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..a395c540c91faf0818cf6ad132e32cb9643239d1 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +--- +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] diff --git a/README.md b/README.md index 939fa1579fc3278991ee675433f94cb74983ea72..47dfe2927ca89bcde4c1cf22395b956fb18a08f7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Cron docker +[](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/>.