Skip to content

Commit

Permalink
Merge pull request #3 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 eec6a2c + f749fda commit 066728a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
path: .

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

- name: Publish rock to Store
run: |
Expand All @@ -62,7 +62,7 @@ jobs:
sudo skopeo \
--insecure-policy \
copy \
oci-archive:mongodb-benchmarking_${version}_amd64.rock \
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}
Expand All @@ -72,6 +72,6 @@ jobs:
sudo skopeo \
--insecure-policy \
copy \
oci-archive:mongodb-benchmarking_${version}_amd64.rock \
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}
2 changes: 1 addition & 1 deletion mongodb-benchmarking.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ spec:
spec:
containers:
- name: mongodb-benchmarking
image: mongodb-benchmarking:1.0
image: ghcr.io/canonical/mongodb-benchmarking:1.0

0 comments on commit 066728a

Please sign in to comment.