Skip to content

Commit

Permalink
Merge pull request #114 from containrrr/rename-image
Browse files Browse the repository at this point in the history
Rename image in docs
  • Loading branch information
moschlar authored Oct 7, 2023
2 parents ef6790e + af4807e commit 0fe699d
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 11 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

# Update Docker Hub repository description from README.md
# https://github.com/peter-evans/dockerhub-description
- name: Update docker hub description
uses: peter-evans/[email protected]
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

# https://github.com/sigstore/cosign
- name: Sign the published Docker image
# This step uses the identity token to provision an ephemeral certificate
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Changelog

## [1.8.0](https://github.com/containrrr/shepherd/tree/1.8.0) (UNRELEASED)

[Full Changelog](https://github.com/containrrr/shepherd/compare/0.7.0...1.8.0)

**Breaking changes:**

- The docker image registry location has been changed to the containrrr organisation:
`containrrr/shepherd`

**Implemented enhancements:**

-

**Fixed bugs:**

-

**Closed issues:**

-

## [0.7.0](https://github.com/djmaze/shepherd/tree/0.7.0) (2022-10-03)

[Full Changelog](https://github.com/djmaze/shepherd/compare/0.6.0...0.7.0)
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Shepherd

[![Build Status](https://ci.strahlungsfrei.de/api/badges/djmaze/shepherd/status.svg)](https://ci.strahlungsfrei.de/djmaze/shepherd)
[![Docker Stars](https://img.shields.io/docker/stars/mazzolino/shepherd.svg)](https://hub.docker.com/r/mazzolino/shepherd/) [![Docker Pulls](https://img.shields.io/docker/pulls/mazzolino/shepherd.svg)](https://hub.docker.com/r/mazzolino/shepherd/)
[![Build](https://github.com/containrrr/shepherd/actions/workflows/build.yml/badge.svg)](https://github.com/containrrr/shepherd/actions/workflows/build.yml)
[![Docker Stars](https://img.shields.io/docker/stars/containrrr/shepherd.svg)](https://hub.docker.com/r/containrrr/shepherd/) [![Docker Pulls](https://img.shields.io/docker/pulls/containrrr/shepherd.svg)](https://hub.docker.com/r/containrrr/shepherd/)

A Docker swarm service for automatically updating your services whenever their base image is refreshed.

Expand All @@ -10,7 +10,7 @@ A Docker swarm service for automatically updating your services whenever their b
docker service create --name shepherd \
--constraint "node.role==manager" \
--mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock,ro \
mazzolino/shepherd
containrrr/shepherd

### Or with Docker Compose

Expand All @@ -19,7 +19,7 @@ A Docker swarm service for automatically updating your services whenever their b
...
shepherd:
build: .
image: mazzolino/shepherd
image: containrrr/shepherd
volumes:
- /var/run/docker.sock:/var/run/docker.sock
deploy:
Expand Down Expand Up @@ -65,7 +65,7 @@ You need to make the secret available to shepherd with the `secrets` key, and pa
```
services:
app:
image: mazzolino/shepherd
image: containrrr/shepherd
environment:
REGISTRIES_FILE: /var/run/secrets/shepherd-registries-auth
secrets:
Expand Down Expand Up @@ -113,7 +113,7 @@ Example:
--env TZ=Europe/Berlin \
--mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock,ro \
--mount type=bind,source=/root/.docker/config.json,target=/root/.docker/config.json,ro \
mazzolino/shepherd
containrrr/shepherd

## Running on a cron schedule

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3"
services:
app:
build: .
image: mazzolino/shepherd
image: containrrr/shepherd
environment:
TZ: 'US/Eastern'
SLEEP_TIME: '5m'
Expand Down
8 changes: 4 additions & 4 deletions manifest.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
image: containrrr/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
Expand All @@ -7,17 +7,17 @@ tags:
{{/if}}
manifests:
-
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
image: containrrr/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}amd64
platform:
architecture: amd64
os: linux
-
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
image: containrrr/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm
platform:
architecture: arm
os: linux
-
image: mazzolino/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm64
image: containrrr/shepherd:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}arm64
platform:
architecture: arm64
os: linux

0 comments on commit 0fe699d

Please sign in to comment.