This repository was archived by the owner on Jun 1, 2026. It is now read-only.
Repository navigation
Refine gem_evm staking parsers and fixtures #1555
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: Publish Containers | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| packages: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| env: | |
| CORE_IMAGE: ghcr.io/gemwalletcom/core | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v4 | |
| - name: Log in to GitHub Container Registry | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.PACKAGES_GITHUB_TOKEN }} | |
| - name: Build and push core | |
| uses: docker/build-push-action@v7 | |
| with: | |
| context: . | |
| file: ./Dockerfile | |
| target: core | |
| push: true | |
| platforms: linux/amd64 | |
| cache-from: type=gha,scope=core | |
| cache-to: type=gha,mode=max,scope=core | |
| labels: | | |
| org.opencontainers.image.source=https://github.com/${{ github.repository }} | |
| tags: | | |
| ${{ env.CORE_IMAGE }}:latest | |
| ${{ env.CORE_IMAGE }}:${{ github.sha }} |