diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2717056..fddfec2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -109,6 +109,13 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Login to ECR Public + uses: docker/login-action@v2 + with: + registry: public.ecr.aws + username: ${{ secrets.RELEASE_ECR_ACCESS_KEY_ID }} + password: ${{ secrets.RELEASE_ECR_SECRET_ACCESS_KEY }} + - name: Push images if: ${{ success() && github.ref == 'refs/heads/master' }} run: | diff --git a/images.yaml b/images.yaml index 28d980f..867320d 100644 --- a/images.yaml +++ b/images.yaml @@ -4,7 +4,8 @@ images: dockerfile: Dockerfile-ubuntu context: ubuntu-context registry_paths: - - jujusolutions/charm-base + - docker.io/jujusolutions/charm-base + - public.ecr.aws/juju/charm-base tags: - ubuntu-22.04 - latest @@ -16,7 +17,7 @@ images: - linux/riscv64 build_args: - "BASE_IMAGE=ubuntu:22.04" - juju_test_channel: 3.0/stable + juju_test_channel: 3.1/stable microk8s_test_channel: 1.25-strict/stable series: jammy @@ -25,7 +26,8 @@ images: dockerfile: Dockerfile-ubuntu context: ubuntu-context registry_paths: - - jujusolutions/charm-base + - docker.io/jujusolutions/charm-base + - public.ecr.aws/juju/charm-base tags: - ubuntu-20.04 platforms: @@ -45,7 +47,8 @@ images: dockerfile: Dockerfile-ubuntu context: ubuntu-context registry_paths: - - jujusolutions/charm-base + - docker.io/jujusolutions/charm-base + - public.ecr.aws/juju/charm-base tags: - ubuntu-18.04 platforms: