Skip to content

Commit

Permalink
fix: Move Docker images to GHCR
Browse files Browse the repository at this point in the history
In response to Docker's plan to delete free open-source organisations,
we're moving the Docker image to GitHub's container registry (GHCR).
  • Loading branch information
franky47 committed Mar 24, 2023
1 parent 889a4fc commit f283bd3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ key=value).
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
```

> _Note: you need to use a [literal block scalar](https://yaml-multiline.info/) `|` to preserve newlines in a YAML string._
> **Note**: you need to use a [literal block scalar](https://yaml-multiline.info/) `|` to preserve newlines in a YAML string.

Environment variables will be set before the application is deployed,
to let the new deployment use them.
Expand Down Expand Up @@ -229,14 +229,18 @@ This action follows [SemVer](https://semver.org/).
To specify the version of the action to use:
- `uses: 47ng/[email protected]`: latest stable version
- `uses: 47ng/actions-clever-cloud@3e5402496b8d6492401ebb3134acfeccc25c3fce`: pinned to a specific Git SHA-1 (check out the [releases](https://github.com/47ng/actions-clever-cloud/releases))
- `uses: docker://47ng/actions-clever-cloud:latest`: latest code from master (not recommended, as it may break: hic sunt dracones.)
- `uses: docker://ghcr.io/47ng/actions-clever-cloud:latest`: latest code from master (not recommended, as it may break: hic sunt dracones.)

> Note: `uses: 47ng/actions-clever-cloud@master` will not use the latest code on the `master` branch,
> **Note**: `uses: 47ng/actions-clever-cloud@master` will not use the latest code on the `master` branch,
> because the action manifest is pinned on the latest relase for performance reasons (it saves
> rebuilding the Docker image when consuming the action).
>
> If you wish to test unreleased features, go through Docker directly.

> **Note**: as of 2023-03-24, Docker images have been moved from Docker Hub
> (`47ng/actions-clever-cloud`) to GitHub Container Registry (`ghcr.io/47ng/actions-clever-cloud`),
> in response to Docker's plan to delete open source organisations on free plans.

## Why ?

Clever Cloud lets you connect your GitHub repository so that any push is
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ inputs:
to be set, see https://github.com/47ng/ations-clever-cloud#safelisting
runs:
using: docker
image: docker://47ng/actions-clever-cloud:v1.3.1
image: docker://ghcr.io/47ng/actions-clever-cloud:v1.3.1

0 comments on commit f283bd3

Please sign in to comment.