diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8d14ade..1c0f3c4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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: | diff --git a/images.yaml b/images.yaml index bedabde..3b1ec7b 100644 --- a/images.yaml +++ b/images.yaml @@ -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 @@ -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