Skip to content

Commit 40edd5a

Browse files
authored
Merge pull request #10 from hpidcock/release-oci-cron
Add ghcr.io
2 parents 89caa63 + ad3db84 commit 40edd5a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/release.yaml

+9-2
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,25 @@ jobs:
9494
EOF
9595
9696
- name: Login to Docker Hub
97-
uses: docker/login-action@v2
97+
uses: docker/login-action@v3
9898
with:
9999
username: ${{ secrets.DOCKERHUB_USERNAME }}
100100
password: ${{ secrets.DOCKERHUB_TOKEN }}
101101

102102
- name: Login to ECR Public
103-
uses: docker/login-action@v2
103+
uses: docker/login-action@v3
104104
with:
105105
registry: public.ecr.aws
106106
username: ${{ secrets.RELEASE_ECR_ACCESS_KEY_ID }}
107107
password: ${{ secrets.RELEASE_ECR_SECRET_ACCESS_KEY }}
108108

109+
- name: Login to GitHub Container Registry
110+
uses: docker/login-action@v3
111+
with:
112+
registry: ghcr.io
113+
username: ${{ github.actor }}
114+
password: ${{ secrets.GITHUB_TOKEN }}
115+
109116
- name: Push images
110117
if: ${{ success() && github.ref == 'refs/heads/master' }}
111118
run: |

images.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ images:
33
registry_paths:
44
- docker.io/jujusolutions/juju-db
55
- public.ecr.aws/juju/juju-db
6+
- ghcr.io/juju/juju-db
67
tags:
78
- 4.4
89
- 4.4.18
@@ -22,6 +23,7 @@ images:
2223
registry_paths:
2324
- docker.io/jujusolutions/juju-db
2425
- public.ecr.aws/juju/juju-db
26+
- ghcr.io/juju/juju-db
2527
tags:
2628
- 4.4.24
2729
test_tag: 4.4

0 commit comments

Comments
 (0)