Skip to content

Commit

Permalink
Merge pull request #4 from canonical/fix_release_workflow
Browse files Browse the repository at this point in the history
Fix release workflow
  • Loading branch information
dmitry-ratushnyy authored Apr 18, 2024
2 parents 066728a + 7857657 commit f61677c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,3 @@ jobs:
oci-archive:mongodb-benchmarking-oci_${version}_amd64.rock \
docker-daemon:ghcr.io/canonical/mongodb-benchmarking:${major_tag_version}
docker push ghcr.io/canonical/mongodb-benchmarking:${major_tag_version}
### push full version to edge
tag_version="${version}-${base}_${{ env.RELEASE }}"
echo "Publishing mongodb-benchmarking:${tag_version}"
sudo skopeo \
--insecure-policy \
copy \
oci-archive:mongodb-benchmarking-oci_${version}_amd64.rock \
docker-daemon:ghcr.io/canonical/mongodb-benchmarking:${tag_version}
docker push ghcr.io/canonical/mongodb-benchmarking:${tag_version}
3 changes: 2 additions & 1 deletion mongodb-benchmarking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ spec:
spec:
containers:
- name: mongodb-benchmarking
image: ghcr.io/canonical/mongodb-benchmarking:1.0
image: ghcr.io/canonical/mongodb-benchmarking:1-edge


0 comments on commit f61677c

Please sign in to comment.