Commit 3bf7c08 1 parent cf43ffd commit 3bf7c08 Copy full SHA for 3bf7c08
File tree 3 files changed +7
-9
lines changed
3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
build-and-push :
10
10
name : Deploy Docker Image
11
- runs-on : ubuntu-20 .04
11
+ runs-on : ubuntu-22 .04
12
12
steps :
13
- - uses : actions/checkout@v3.3 .0
13
+ - uses : actions/checkout@v3.4 .0
14
14
- name : Build and push
15
- uses : openzim/docker-publish-action@v9
15
+ uses : openzim/docker-publish-action@v10
16
16
with :
17
17
image-name : openzim/gutenberg
18
18
on-master : dev
19
19
tag-pattern : /^v([0-9.]+)$/
20
20
latest-on-tag : true
21
21
restrict-to : openzim/gutenberg
22
+ registries : ghcr.io
22
23
credentials :
23
- DOCKERIO_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
24
- DOCKERIO_TOKEN=${{ secrets.DOCKERHUB_PASSWORD }}
25
24
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
26
25
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
27
26
repo_description : auto
Original file line number Diff line number Diff line change @@ -35,15 +35,14 @@ jobs:
35
35
twine upload dist/*
36
36
37
37
- name : Build and push
38
- uses : openzim/docker-publish-action@v9
38
+ uses : openzim/docker-publish-action@v10
39
39
with :
40
40
image-name : openzim/gutenberg
41
41
tag-pattern : /^v([0-9.]+)$/
42
42
latest-on-tag : true
43
43
restrict-to : openzim/gutenberg
44
+ registries : ghcr.io
44
45
credentials :
45
- DOCKERIO_USERNAME=${{ secrets.DOCKERHUB_USERNAME }}
46
- DOCKERIO_TOKEN=${{ secrets.DOCKERHUB_PASSWORD }}
47
46
GHCRIO_USERNAME=${{ secrets.GHCR_USERNAME }}
48
47
GHCRIO_TOKEN=${{ secrets.GHCR_TOKEN }}
49
48
repo_description : auto
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Gutenberg](https://www.gutenberg.org) library and puts it in a
6
6
storing content for offline usage.
7
7
8
8
[ ![ Python package] ( https://img.shields.io/pypi/v/gutenberg2zim.svg )] ( https://pypi.python.org/pypi/gutenberg2zim )
9
- [ ![ Docker] ( https://img.shields.io/docker/v/ openzim/gutenberg?label=docker&sort=semver )] ( https://hub.docker.com/r /openzim/gutenberg )
9
+ [ ![ Docker] ( https://ghcr-badge.deta.dev/ openzim/gutenberg/latest_tag ?label=docker )] ( https://ghcr.io /openzim/gutenberg )
10
10
[ ![ CodeFactor] ( https://www.codefactor.io/repository/github/openzim/gutenberg/badge )] ( https://www.codefactor.io/repository/github/openzim/gutenberg )
11
11
[ ![ License: GPL v3] ( https://img.shields.io/badge/License-GPLv3-blue.svg )] ( https://www.gnu.org/licenses/gpl-3.0 )
12
12
You can’t perform that action at this time.
0 commit comments