diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 0a990d5..7bb56d5 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -8,10 +8,7 @@ concurrency: cancel-in-progress: true on: - push: - branches: - - 6-22.04 - workflow_dispatch: + pull_request: jobs: build: @@ -63,12 +60,13 @@ jobs: # push major version to edge major_tag_version="${version%%.*}-${{ env.RELEASE }}" + sudo skopeo \ --insecure-policy \ copy \ oci-archive:charmed-mongodb_${full_version}_amd64.rock \ - docker-daemon:ghcr.io/canonical/charmed-mongodb:${major_tag_version} - docker push ghcr.io/canonical/charmed-mongodb:${major_tag_version} + docker-daemon:ghcr.io/miaaltieri/charmed-mongodb:${major_tag_version} + docker push ghcr.io/miaaltieri/charmed-mongodb:${major_tag_version} ### push full version to edge tag_version="${version}-${base}_${{ env.RELEASE }}" @@ -77,5 +75,5 @@ jobs: --insecure-policy \ copy \ oci-archive:charmed-mongodb_${full_version}_amd64.rock \ - docker-daemon:ghcr.io/canonical/charmed-mongodb:${tag_version} - docker push ghcr.io/canonical/charmed-mongodb:${tag_version} + docker-daemon:ghcr.io/miaaltieri/charmed-mongodb:${tag_version} + docker push ghcr.io/miaaltieri/charmed-mongodb:${tag_version}