Skip to content

chore: bump to v0.3.32 #76

chore: bump to v0.3.32

chore: bump to v0.3.32 #76

Workflow file for this run

name: Build and Publish Docker Image
on:
push:
tags:
- 'v*' # Trigger on version tags starting with 'v'
jobs:
e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Run E2E tests
run: |
cd e2e
bash run.sh
env:
HUGR_VERSION: ${{ github.ref_name }}
build-and-push:
name: Build & Push Docker Image
runs-on: ubuntu-latest
needs: e2e-tests
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Show tag
run: |
echo "Tag: ${{ github.ref_name }}"
- name: Build and push server image
uses: docker/build-push-action@v5
with:
context: .
file: server.dockerfile
platforms: linux/amd64,linux/arm64
push: true
build-args: |
HUGR_VERSION=${{ github.ref_name }}
tags: |
ghcr.io/hugr-lab/server:${{ github.ref_name }}
ghcr.io/hugr-lab/server:latest
- name: Build and push automigrate image
uses: docker/build-push-action@v5
with:
context: .
file: automigrate.dockerfile
platforms: linux/amd64,linux/arm64
push: true
build-args: |
HUGR_VERSION=${{ github.ref_name }}
tags: |
ghcr.io/hugr-lab/automigrate:${{ github.ref_name }}
ghcr.io/hugr-lab/automigrate:latest