Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support arm64 #600

Merged
merged 2 commits into from
May 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 16 additions & 14 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ jobs:
run: |
echo "::set-output name=docker_tag::${{ env.DOCKER_TAG }}"

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
uses: docker/login-action@v1
with:
Expand All @@ -93,7 +99,7 @@ jobs:
tags: ${{ env.DOCKER_IMAGE_REPOSITORY }}/${{ env.DOCKER_IMAGE_NAME }}:latest
file: ${{ env.DOCKER_FILE}}
platforms: linux/amd64,linux/arm64

update:
needs: push
runs-on: ubuntu-latest
Expand All @@ -120,12 +126,11 @@ jobs:
if: github.ref == 'refs/heads/master'
with:
repository: mintproject/mint
path: mint-chart
path: mint-chart
token: ${{ secrets.MINT_INSTANCES }}
ref: main


- name: Update MINT ISI master
- name: Update MINT ISI master
uses: fjogeleit/yaml-update-action@main
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
Expand All @@ -135,10 +140,10 @@ jobs:
message: "Update Image Version to ${{ env.DOCKER_TAG }}"
repository: mintproject/mint-instances
workDir: infrastructure
branch: master
branch: master
token: ${{ secrets.MINT_INSTANCES }}

- name: Update MINT ISI WIFIRE
- name: Update MINT ISI WIFIRE
uses: fjogeleit/yaml-update-action@main
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
Expand All @@ -148,11 +153,10 @@ jobs:
message: "Update UI"
repository: mintproject/mint-instances
workDir: infrastructure
branch: master
branch: master
token: ${{ secrets.MINT_INSTANCES }}


- name: Update MINT tacc
- name: Update MINT tacc
uses: fjogeleit/yaml-update-action@main
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
with:
Expand All @@ -162,7 +166,7 @@ jobs:
message: "Update UI"
repository: mintproject/mint-instances
workDir: infrastructure
branch: master
branch: master
token: ${{ secrets.MINT_INSTANCES }}

- name: Update MINT ISI dev
Expand All @@ -175,10 +179,9 @@ jobs:
message: "Update UI"
repository: mintproject/mint-instances
workDir: infrastructure
branch: master
branch: master
token: ${{ secrets.MINT_INSTANCES }}


- name: Update helm charts
uses: fjogeleit/yaml-update-action@main
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
Expand Down Expand Up @@ -213,8 +216,7 @@ jobs:
ignore-unfixed: "true"

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v1
uses: github/codeql-action/upload-sarif@v2
if: always()
with:

sarif_file: "trivy-results.sarif"