Skip to content

Commit

Permalink
Merge branch 'develop' into feature/post-0.33.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszaaa authored Feb 3, 2024
2 parents 9fa8e77 + d699297 commit d897437
Show file tree
Hide file tree
Showing 5 changed files with 301 additions and 301 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/branch-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ jobs:
outputs:
DOCKER_IMAGE_DIGEST: ${{ steps.export_docker_image.outputs.DOCKER_IMAGE_DIGEST }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Login to Docker Hub
uses: docker/login-action@v2.1.0
uses: docker/login-action@v3.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -76,10 +76,10 @@ jobs:
docker save mangatasolutions/mangata-node:${{ needs.init.outputs.RELEASE_CANDIDATE_VERSION }} -o docker-${{ needs.init.outputs.RELEASE_VERSION }}.tar
zip -r docker-${{ needs.init.outputs.RELEASE_VERSION }}.zip docker-${{ needs.init.outputs.RELEASE_VERSION }}.tar
# Save docker image SHA256 digest as an output variable
echo "DOCKER_IMAGE_DIGEST=$(docker inspect mangatasolutions/mangata-node:${{ needs.init.outputs.RELEASE_CANDIDATE_VERSION }} --format='{{index .RepoDigests 0}}')" >> $GITHUB_OUTPUT
echo "DOCKER_IMAGE_DIGEST=$(docker inspect mangatasolutions/mangata-node:${{ needs.init.outputs.RELEASE_CANDIDATE_VERSION }} --format='{{index .RepoDigests 0}}' | sed 's|mangatasolutions/mangata-node@||')" >> $GITHUB_OUTPUT
- name: Tag and push image rococo and kusama specific images
uses: akhilerm/tag-push-action@v2.0.0
uses: akhilerm/tag-push-action@v2.1.0
with:
src: docker.io/mangatasolutions/mangata-node:${{ needs.init.outputs.RELEASE_CANDIDATE_VERSION }}
dst: |
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Tag and push image
uses: akhilerm/[email protected]
with:
src: ${{ needs.create-draft-release-and-publish-docker-images.outputs.DOCKER_IMAGE_DIGEST }}
src: mangatasolutions/mangata-node@${{ needs.create-draft-release-and-publish-docker-images.outputs.DOCKER_IMAGE_DIGEST }}
dst: docker.io/mangatasolutions/mangata-node:${{ needs.init.outputs.RELEASE_VERSION }}

- name: Upload wasms to release page
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release branch workflow
name: Release Candidate branch workflow

# available flags:
## skip-e2e-tests: skip running e2e tests
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ name: Deploy docs

on:
push:
branches: [ develop ]
branches: [develop]

jobs:
docs:
permissions:
contents: write
id-token: write
runs-on: mangata-node-e2e-runners
runs-on: [compile-gke]
container:
image: mangatasolutions/node-builder:multi-nightly-2022-11-21
image: mangatasolutions/node-builder:multi-nightly-2023-05-22
steps:
- uses: actions/checkout@v3
- uses: google-github-actions/auth@v1
- uses: actions/checkout@v4

- uses: google-github-actions/auth@v2
with:
workload_identity_provider: '${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}'
service_account: '${{ secrets.GCP_SERVICE_ACCOUNT }}'

- name: Cache the Cargo dependencies
uses: mansagroup/[email protected]
with:
Expand All @@ -34,7 +34,7 @@ jobs:
run: cargo doc

- name: Deploy to GCP
uses: google-github-actions/upload-cloud-storage@v1.0.3
uses: google-github-actions/upload-cloud-storage@v2.1.0
with:
path: ./target/doc/
destination: mangata-docs-node
Expand Down
Loading

0 comments on commit d897437

Please sign in to comment.