Skip to content

git: bump minor version to 0.7.0 #229

git: bump minor version to 0.7.0

git: bump minor version to 0.7.0 #229

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*.*.*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: "Prune docker"
run: docker system prune -f --all
- name: "Get the code"
uses: actions/checkout@v4
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@v3
- name: "Set up Docker Buildx"
uses: docker/setup-buildx-action@v3
- name: "Log in to DockerHub"
uses: docker/login-action@v3
with:
registry: ghcr.io
username: faasm
password: ${{ secrets.GHCR_PAT }}
- name: "Build and push cpp-sysroot container"
id: docker_build
uses: docker/[email protected]
with:
push: true
file: docker/cpp-sysroot.dockerfile
context: .
tags: ghcr.io/faasm/cpp-sysroot:${{ env.TAG_VERSION }}
build-args: SYSROOT_VERSION=${{ env.TAG_VERSION }}