Skip to content

Commit

Permalink
Merge pull request #10 from hpidcock/release-oci-cron
Browse files Browse the repository at this point in the history
Add ghcr.io
  • Loading branch information
hpidcock authored Oct 9, 2023
2 parents 89caa63 + ad3db84 commit 40edd5a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,25 @@ jobs:
EOF
- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to ECR Public
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: public.ecr.aws
username: ${{ secrets.RELEASE_ECR_ACCESS_KEY_ID }}
password: ${{ secrets.RELEASE_ECR_SECRET_ACCESS_KEY }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push images
if: ${{ success() && github.ref == 'refs/heads/master' }}
run: |
Expand Down
2 changes: 2 additions & 0 deletions images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ images:
registry_paths:
- docker.io/jujusolutions/juju-db
- public.ecr.aws/juju/juju-db
- ghcr.io/juju/juju-db
tags:
- 4.4
- 4.4.18
Expand All @@ -22,6 +23,7 @@ images:
registry_paths:
- docker.io/jujusolutions/juju-db
- public.ecr.aws/juju/juju-db
- ghcr.io/juju/juju-db
tags:
- 4.4.24
test_tag: 4.4
Expand Down

0 comments on commit 40edd5a

Please sign in to comment.