Skip to content

cpp: point to llvm-17 branch #82

cpp: point to llvm-17 branch

cpp: point to llvm-17 branch #82

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Get the code"
uses: actions/checkout@v3
with:
submodules: recursive
- name: "Get tag version"
run: echo "TAG_VERSION=${GITHUB_REF#refs/tags/v*}" >> $GITHUB_ENV
- name: "Print tag version"
run: echo ${{ env.TAG_VERSION }}
- name: "Set up QEMU"
uses: docker/setup-qemu-action@v2
- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v2
- name: "Log in to DockerHub"
uses: docker/login-action@v2
with:
registry: faasm.azurecr.io
username: ${{ secrets.ACR_SERVICE_PRINCIPAL_ID }}
password: ${{ secrets.ACR_SERVICE_PRINCIPAL_PASSWORD }}
- name: "Build and push cpython container"
id: docker_build
uses: docker/build-push-action@v3
with:
push: true
context: .
tags: faasm.azurecr.io/cpython:${{ env.TAG_VERSION }}
build-args: FAASM_PYTHON_VERSION=${{ env.TAG_VERSION }}