Closed ZakiaYahya closed 1 year ago
Changes are done in this piece of original code
`- name: Build and push uses: docker/build-push-action@v2 with: context: . platforms: linux/amd64,linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ersiliaos/${{ github.event.repository.name }}:latest - name: Docker Hub Description uses: peter-evans/dockerhub-description@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} repository: ersiliaos/${{ github.event.repository.name }} short-description: "Ersilia Model Hub Identifier: ${{ github.event.repository.name }}" `
to
`- name: Build and push (amd64) uses: docker/build-push-action@v2 with: context: . platforms: linux/amd64 push: ${{ github.event_name != 'pull_request' }} tags: ersiliaos/${{ github.event.repository.name }}:latest - name: Build and push (arm64) if: always() uses: docker/build-push-action@v2 with: context: . platforms: linux/arm64 push: ${{ github.event_name != 'pull_request' }} tags: ersiliaos/${{ github.event.repository.name }}:latest - name: Build and push (amd64) if: failure() uses: docker/build-push-action@v2 with: context: . platforms: linux/amd64 push: ${{ github.event_name != 'pull_request' }} tags: ersiliaos/${{ github.event.repository.name }}:latest - name: Docker Hub Description uses: peter-evans/dockerhub-description@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} repository: ersiliaos/${{ github.event.repository.name }} short-description: "Ersilia Model Hub Identifier: ${{ github.event.repository.name }}"`
Changes are done in this piece of original code
to