imp: Order contracts by name in the global list #268
This file contains 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 Docker image | |
on: | |
push: | |
branches: | |
- 'main' | |
tags: | |
- '*' | |
env: | |
docker_image_version: ${{ github.ref == 'refs/heads/main' && 'edge' || github.ref_name }} | |
jobs: | |
push_to_registry: | |
name: Push Docker image to GitHub Container Registry | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v4 | |
- name: Log in to GHCR | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Build the Docker image | |
run: make docker-image VERSION=${{ env.docker_image_version }} | |
- name: Push the Docker image to GHCR | |
run: docker push ghcr.io/probesys/bileto:${{ env.docker_image_version }} |