Skip to content

chore: bump pe version to v4.5.10-rc.1 #117

chore: bump pe version to v4.5.10-rc.1

chore: bump pe version to v4.5.10-rc.1 #117

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@master
with:
platforms: all
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@master
- name: Install earthly
uses: earthly/actions-setup@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
version: "latest"
use-cache: true
- name: Calculate Version
id: version
run: |
echo $(git describe --exact-match --tags || echo "v0.0.0-$(git rev-parse --short=8 HEAD)") > VERSION
echo "version=$(head -n 1 VERSION)" >> $GITHUB_OUTPUT
- name: Build artifacts
env:
VERSION: ${{ steps.version.outputs.version }}
run: |
earthly --ci --output +release