This repository was archived by the owner on Sep 18, 2026. It is now read-only.
chore: sync VERSION file to 2.1.1 #434
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build image and push to GitHub Container Registry | |
| permissions: | |
| contents: read | |
| packages: write | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Login to GitHub Container Registry | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{github.actor}} | |
| password: ${{secrets.GITHUB_TOKEN}} | |
| - name: Lowercase the GitHub repository | |
| id: lowercase-repository | |
| run: | | |
| echo "github_repository=${GITHUB_REPOSITORY@L}" >> $GITHUB_OUTPUT | |
| - name: Build and Push Image with Kaniko | |
| uses: int128/kaniko-action@v1 | |
| with: | |
| push: true | |
| tags: ghcr.io/${{ steps.lowercase-repository.outputs.github_repository }}:${{ github.sha }}-${{ github.ref_name }}-${{ github.run_id }} | |
| - name: Build and Push Go Backend Image with Kaniko | |
| uses: int128/kaniko-action@v1 | |
| with: | |
| file: ./machinev2/backend/Dockerfile | |
| push: true | |
| tags: ghcr.io/${{ steps.lowercase-repository.outputs.github_repository }}/machinev2/backend:${{ github.sha }}-${{ github.ref_name }}-${{ github.run_id }} | |
| - name: Build and Push Wallet varification server with Kaniko | |
| uses: int128/kaniko-action@v1 | |
| with: | |
| context: ./wallet | |
| file: ./wallet/verification_server.Dockerfile | |
| push: true | |
| tags: ghcr.io/${{ steps.lowercase-repository.outputs.github_repository }}/wallet/verification_server:${{ github.sha }}-${{ github.ref_name }}-${{ github.run_id }} |